deploy/k8s holds a Kustomize base (a Deployment and Service for each of the ten images, with the probes, settings and mounts from docs/deployment.md) and a prod overlay that pins every image to one commit SHA and routes only the admin portal and mobile-api's exact WhatsApp webhook path through Traefik with TLS. Secrets never enter git: deploy/k8s/secrets.example holds placeholders, the filled copy in deploy/k8s/secrets is ignored, and deploy/create-secrets.sh loads it without printing a value. deploy/set-release.sh pins or rolls back the release. deploy/check.sh (also a CI step) renders the overlay in one pinned container, validates it with kubeconform and refuses public routes to internal services, latest or untagged images, Secret data or literal secret env values, mixed SHAs and a second or rolling service-counter; --release also refuses unfilled cluster facts. --self-test proves each rule fires on its fixture. OpenSpec change: add-k8s-deployment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
8 lines
335 B
Bash
8 lines
335 B
Bash
# WhatsApp stays off until WHATSAPP_COMPANIES is set (docs/deployment.md sections 6 and 11).
|
|
# To switch it on, uncomment and fill in; the tokens and app secrets go in the co-lite-whatsapp Secret.
|
|
# WHATSAPP_COMPANIES=INS,CV
|
|
# WHATSAPP_INS_PHONE_NUMBER_ID=
|
|
# WHATSAPP_INS_WABA_ID=
|
|
# WHATSAPP_CV_PHONE_NUMBER_ID=
|
|
# WHATSAPP_CV_WABA_ID=
|