PRODUCTION OVERLAY
Production overlay
This overlay is a shape, not a one-command install. It will not become Ready until you supply three things the compose path cannot invent:
- Database password — run
./hack/gen-prod-secrets.sh(or External Secrets). The committed value isREPLACE_ME_BEFORE_APPLY. - TLS secret
platform-tls— seedeploy/overlays/prod/tls.yaml.example. Apply after a ClusterIssuer exists. - CNPG CA ConfigMap
platform-db-ca— run./hack/sync-cnpg-ca.shafter the Cluster is healthy. Required because Keycloak setsdb-tls-mode: verify-server.
Manifests live in deploy/overlays/prod/.
Apply order¶
./hack/gen-prod-secrets.sh # writes /tmp secrets; apply them
kubectl apply -k deploy/overlays/prod
kubectl -n identity wait cluster/platform-db --for=condition=Ready --timeout=600s
./hack/sync-cnpg-ca.sh
kubectl apply -f deploy/overlays/prod/tls.yaml.example # after editing issuer
Or via Makefile: make secrets-prod, make prod, make sync-ca.
Backups¶
Not included in the base overlay. A ScheduledBackup with method: barmanObjectStore is rejected unless the Cluster has an object store or CNPG-I plugin ObjectStore.
See Backups.