apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: ref-implementation namespace: argocd labels: env: dev finalizers: - resources-finalizer.argocd.argoproj.io spec: destination: name: in-cluster namespace: argocd source: path: "{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/ref-implementation" repoURL: "https://{{{ .Env.CLIENT_REPO_DOMAIN }}}/{{{ .Env.CLIENT_REPO_ORG_NAME }}}" targetRevision: HEAD project: default syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true