Files
homelab/k8s/data/kustomization.yaml
T
Story Crater Bot e2e17ae0fb feat(data): Add CNPG cluster + database schema initialization
Create production PostgreSQL cluster via CNPG (3-node HA, Longhorn storage).

Schema initialization Job creates schemas for:
- Authentik (identity provider)
- Temporal (workflow engine)
- Vault (secrets management)
- App (generic application databases)

Database layer now captures complete IaC for stateful infrastructure.
Services find ready schemas when deployed.
2026-07-16 14:53:59 -07:00

16 lines
404 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
metadata:
name: data
# Layer 6: Data — stateful services (databases, message brokers)
# Dependencies: all previous layers (bootstrap, platform, etc.)
# Order: Applied last
# PostgreSQL cluster + schema initialization
# Required by: Authentik, Temporal, Vault, SQS
resources:
- ddb-cluster.yaml
- schemas.yaml
- db-init-job.yaml