preflight

by Labs64

Helm chartv0.2.7App 0.0.1Verified publisher

Labs64.IO :: Preflight - verify tenant infrastructure (broker, database, cache, OIDC) before installing modules

About this chart

preflight

Labs64.IO :: Preflight - verify tenant infrastructure (broker, database, cache, OIDC) before installing modules

Homepage: https://labs64.io

Maintainers

NameEmailUrl
Labs64[email protected]https://labs64.io

Source Code

Values

KeyTypeDefaultDescription
checksobject{"oidc":{"clientId":"","clientSecret":"","discoveryUrl":"https://idp.example.com/realms/example/.well-known/openid-configuration","enabled":false,"existingSecret":"","scope":""},"postgresql":{"database":"postgres","enabled":false,"existingSecret":"","host":"postgres.infra.example.com","password":"","port":5432,"username":""},"rabbitmq":{"enabled":false,"host":"rabbitmq.infra.example.com","port":5672},"redis":{"enabled":false,"existingSecret":"","host":"redis.infra.example.com","password":"","port":6379}}Connectivity checks to run; enable only what your modules need.
checks.oidcobject{"clientId":"","clientSecret":"","discoveryUrl":"https://idp.example.com/realms/example/.well-known/openid-configuration","enabled":false,"existingSecret":"","scope":""}OIDC discovery + client_credentials token grant
checks.oidc.existingSecretstring""Existing Secret with client-id/client-secret keys — preferred over inline values.
checks.postgresqlobject{"database":"postgres","enabled":false,"existingSecret":"","host":"postgres.infra.example.com","password":"","port":5432,"username":""}PostgreSQL connectivity and login (SELECT 1)
checks.postgresql.existingSecretstring""Existing Secret with username/password keys — preferred over the inline values above, which land in the pod spec in plaintext (readable by anyone with get pods).
checks.rabbitmqobject{"enabled":false,"host":"rabbitmq.infra.example.com","port":5672}AMQP broker reachability (TCP connect)
checks.redisobject{"enabled":false,"existingSecret":"","host":"redis.infra.example.com","password":"","port":6379}Redis connectivity (PING)
checks.redis.existingSecretstring""Existing Secret with a password key (passed via REDISCLI_AUTH, never argv/pod spec).
enabledbooltrue
imagesobject{"busybox":"busybox:1.38.0","curl":"curlimages/curl:8.23.0","postgresql":"postgres:18-alpine","redis":"valkey/valkey:9.1-alpine"}Images used by the check containers
images.postgresqlstring"postgres:18-alpine"Official images rather than bitnamilegacy/*, which is an unsupported namespace on a deprecation path. These run the same SELECT 1 / PING checks; both put psql / redis-cli on PATH, which is all job.yaml relies on.

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy preflight with OpenTenant

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