timetable

by 2martens

Helm chartv0.2.0Verified publisher

Installs the Timetable backend into the Kubernetes cluster

About this chart

Wahlrecht API

This chart installs the Wahlrecht API into the Kubernetes cluster.

Configuration

  • by default, it expects a Spring Boot config server running inside the cluster, available under http://configserver:8888/config
    application:
      configserver:
        host: configserver
        port: 8888
        prefix: /config
        scheme: http
    
  • by default, it expects a Kafka running inside the cluster, available under kafka:9092
    application:
      kafka:
        host: kafka
        port: 9092
    
  • configure Keycloak
    application:
      keycloak:
        url: https://yourKeycloak
        realm: yourRealm
    
  • configure secrets (the application expects these values to be set)
    secrets:
      MONGODB_CONNECTION_STRING: mongoDBConnectionString
      CLIENT_SECRET: keycloakClientSecret
    
    Should you want to use, for example, an external secret provider, then you are currently out of luck. The chart does not support that, yet.

Deploy timetable with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has timetable on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charttimetable is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply