Helm chartv0.1.0App 1.0.0Verified publisher

A Helm chart for Jovvix quiz application with API and UI services

About this chart

jovvix

A Helm chart for deploying Jovvix — the real-time, open-source quiz platform built for live engagement, instant feedback, and dynamic leaderboards.

TL;DR

helm dependency build
helm install jovvix . \
  --namespace jovvix --create-namespace \
  --set global.domain=quiz.example.com \
  --set global.scheme=https \
  --set postgres.secret.password=<password> \
  --set valkey.auth.aclUsers.default.password=<password> \
  --set api.secret.jwtSecret=<32-char-secret> \
  --set api.secret.smtpUsername=<smtp-user> \
  --set api.secret.smtpPassword=<smtp-pass> \
  --set kratos.secrets.secretsDefault=<32-char-secret> \
  --set kratos.secrets.secretsCookie=<32-char-secret> \
  --set kratos.secrets.secretsCipher=<exactly-32-char-secret> \
  --set 'kratos.secrets.smtpConnectionURI=smtp://user:[email protected]:587/' \
  --set api.image.tag=<api-tag> \
  --set api.migration.image.tag=<api-tag> \
  --set ui.image.tag=<ui-tag>

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.0+
  • Gateway API controller installed (default configured for Envoy Gateway; override with --set on api.httpRoute.parentRefs, ui.httpRoute.parentRefs, or kratos.httpRoute.parentRefs)

Installing

helm dependency build
helm install jovvix . \
  --namespace jovvix --create-namespace \
  --set global.domain=quiz.example.com \
  --set global.scheme=https \
  --set postgres.secret.password=<password> \
  --set valkey.auth.aclUsers.default.password=<password> \
  --set api.secret.jwtSecret=<32-char-jwt-secret> \
  --set api.secret.smtpUsername=<smtp-username> \
  --set api.secret.smtpPassword=<smtp-password> \
  --set kratos.secrets.secretsDefault=<32-char-secret> \
  --set kratos.secrets.secretsCookie=<32-char-secret> \
  --set kratos.secrets.secretsCipher=<exactly-32-char-secret> \
  --set 'kratos.secrets.smtpConnectionURI=smtp://user:[email protected]:587/' \
  --set api.image.tag=<api-tag> \
  --set api.migration.image.tag=<api-tag> \
  --set ui.image.tag=<ui-tag>

All secrets and image tags are required and must be provided via --set. The chart fails immediately with the exact --set flag if any are missing.

Required Secrets

SecretDescription
postgres.secret.passwordInternal PostgreSQL password
valkey.auth.aclUsers.default.passwordInternal Valkey password
api.secret.jwtSecretJWT signing secret (>= 32 characters)
api.secret.smtpUsernameSMTP username
api.secret.smtpPasswordSMTP password
kratos.secrets.secretsDefaultKratos default secret (>= 32 characters)
kratos.secrets.secretsCookieKratos cookie secret (>= 32 characters)
kratos.secrets.secretsCipherKratos cipher secret (exactly 32 characters)
kratos.secrets.smtpConnectionURISMTP connection URI for the Kratos courier

Using existing Secrets

To keep secrets out of Helm values, create the Secrets yourself and point the chart at them:

ComponentSettingKeys the Secret must hold
PostgreSQLpostgres.secret.existingSecret=<name>password
Valkeyvalkey.auth.usersExistingSecret=<name>default
Kratoskratos.secrets.enabled=false, kratos.secret.nameOverride=<name>dsn, secretsDefault, secretsCookie, secretsCipher, smtpConnectionURI
APIapi.secret.existingSecret=<name>DB_PASSWORD, JWT_SECRET, REDIS_PASSWORD, SMTP_USERNAME, SMTP_PASSWORD

Use all four together: the chart-generated API and Kratos Secrets need the plaintext database and Valkey passwords.

Security

Only the Kratos public API (/self-service, /sessions) is routed. The Kratos admin API has no authentication, so it stays cluster-internal; the Jovvix API reaches it through SERVE_ADMIN_BASE_URL.

Required Images

ImageDescription
api.image.tagJovvix API image tag (see Docker Hub)
api.migration.image.tagJovvix API image tag for migration (same as api.image.tag)
ui.image.tagJovvix UI image tag (see Docker Hub)

Configuration

All configuration parameters are documented as comments in values.yaml.

Deploy jovvix with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has jovvix 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 chartjovvix is pinned at v0.1.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