apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: postgresql-ha namespace: argocd spec: project: default source: repoURL: https://gitlab.ii-p001.local/cw-devops/cw-infra-apps.git targetRevision: main path: postgresql-ha destination: server: https://kubernetes.default.svc namespace: postgresql-ha syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true