- Replace SQLite + PVC with CNPG Postgres cluster (2 replicas, longhorn-cnpg) - Connection string built at runtime via shell wrapper (env var interpolation) - Remove gotify-data PVC (DB handles persistence) - Encrypt secrets.yaml with SOPS - Add db.yaml: gotify-db cluster in notifications namespace
10 lines
177 B
YAML
10 lines
177 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
- namespace.yaml
|
|
- db.yaml
|
|
- secrets.yaml
|
|
- deployment.yaml
|
|
- service.yaml
|
|
- ingress.yaml
|