# NOT YET APPLIED to any cluster. Scaffolding only, matching # deploy/k8s/overlays/prod's own "inert until Phase D" status. # # Unlike vncmail-dev-app.yaml, this targets a DIFFERENT cluster (node1-3, # the HA "prod" cluster) than the one ArgoCD itself runs on (dev-k8s). # That means before this can be applied, node1-3 needs to be registered as # an ArgoCD-managed cluster (`argocd cluster add`, or an equivalent # ServiceAccount+kubeconfig secret) — deliberately not done yet: there's no # reason to wire cross-cluster RBAC into the prod HA cluster before prod # hostname/Stalwart/secrets are real and someone's actually promoting. # # syncPolicy has no automated block at all, and won't get one even later — # prod stays manual-sync-only permanently. That's the promotion gate. apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: vncmail-prod namespace: argocd spec: project: default source: repoURL: git@gitlab.vnc.biz:gitlab-instance-b9b5cf2f/vncmail-plus.git targetRevision: main path: deploy/k8s/overlays/prod destination: server: CHANGEME # the node1-3 cluster's registered ArgoCD server URL, once added namespace: vncmail-prod syncPolicy: syncOptions: - CreateNamespace=true