Demo Kustomize deployments
The Kustomize tree under deploy/kustomize/authproxy-demo deploys AuthProxy’s
hosted demo and per-pull-request demo environments. It is not the current
customer-facing production package; use the Helm chart for general
installations.
Layout
Section titled “Layout”deploy/kustomize/authproxy-demo/├── base/ # AuthProxy, Demo Shell, and fake OAuth provider└── overlays/ ├── demo/ # Persistent demo.authproxy.net environment └── dev/ # Disposable per-branch environmentThe persistent demo adds PostgreSQL, Redis, MinIO, Grafana, Prometheus, Tempo, Loki, and an OpenTelemetry Collector. The dev overlay uses SQLite, in-process miniredis, and filesystem blob storage so it can be recreated cheaply.
Never use the dev storage profile where connections, sessions, queues, request events, or blobs must survive a pod replacement.
Render before applying
Section titled “Render before applying”kubectl kustomize deploy/kustomize/authproxy-demo/overlays/demo > /tmp/authproxy-demo.yamlkubectl kustomize deploy/kustomize/authproxy-demo/overlays/dev > /tmp/authproxy-dev.yamlInspect image tags, hostnames, storage providers, Secret references, and Ingress rules in the rendered output.
Secret contract
Section titled “Secret contract”The workflows create or preserve Secrets outside the Kustomize apply. After
the overlay’s namePrefix, it expects names for:
- JWT signing keys;
- the global encryption key;
- configured actor keys;
- the Demo Shell signing key; and
- database, Redis, and MinIO credentials in the persistent demo.
Seeding is intentionally separate from deployment. The Seed Demo workflow
renders the overlay’s seed directory and runs a one-shot Job to create demo
actors, fake OAuth users, and example connectors.
Hosted deployment behavior
Section titled “Hosted deployment behavior”Deploy Demo pins AuthProxy and demo images to the selected commit, applies the
persistent overlay, waits for workloads, and smoke-tests the shell, UIs,
Grafana data sources, and fake OAuth provider. Deploy Dev creates an isolated
namespace only for same-repository pull requests carrying the deploy:demo
label and tears it down when the pull request closes.
See the source package README and EKS runbook when maintaining those project-owned environments.