# Registered on the dev-k8s-1/2/3 cluster (where ArgoCD already lives) via # `kubectl apply` directly to the argocd namespace — this file is the # version-controlled record of that, not something ArgoCD itself syncs # (no app-of-apps here, deliberately kept simple for two Applications). # # syncPolicy starts WITHOUT automated — manual sync until the one-time # per-namespace bootstrap (vncmail-env secret, image-pull secret — see # deploy/k8s/README.md §3) is done by hand once. Flip to automated (see # commented block below) only after a first manual sync succeeds cleanly. apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: vncmail-dev namespace: argocd spec: project: default source: repoURL: git@gitlab.vnc.biz:gitlab-instance-b9b5cf2f/vncmail-plus.git targetRevision: dev path: deploy/k8s/overlays/dev destination: server: https://kubernetes.default.svc # in-cluster — ArgoCD and vncmail-dev share this cluster namespace: vncmail syncPolicy: syncOptions: - CreateNamespace=true # automated: # prune: true # selfHeal: true