# Wave 6 — Database schemas + init jobs. # CNPG operator and ddb-cluster are bootstrap-only (k8s/bootstrap-local/). # This app manages ONLY the per-app databases and schema initialization. # Dependencies: ddb-cluster (bootstrap wave 0), SOPS secrets (wave 4) apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: data-schemas namespace: argocd annotations: argocd.argoproj.io/sync-wave: "6" spec: project: homelab source: repoURL: https://forgejo.riotpiao.com/riotpiao.com/homelab.git targetRevision: main path: k8s/data/schemas # CHANGED from k8s/data to avoid ddb-cluster duplication destination: server: https://kubernetes.default.svc namespace: ddb syncPolicy: automated: prune: true selfHeal: true