From 03404de5dabf1254d6ea61a81e1c0fe339457f4c Mon Sep 17 00:00:00 2001 From: friedrich goerz Date: Tue, 8 Nov 2022 12:24:27 +0100 Subject: [PATCH] DEV-633: added autosync --- templates/application_namespaces.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/application_namespaces.yaml diff --git a/templates/application_namespaces.yaml b/templates/application_namespaces.yaml new file mode 100644 index 0000000..cb5cb0b --- /dev/null +++ b/templates/application_namespaces.yaml @@ -0,0 +1,18 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: rollout-namespaces + namespace: argo-cd +spec: + destination: + server: https://kubernetes.default.svc + project: infrastructure + source: + path: namespaces + repoURL: https://prodnso-gitea-01.smardigo.digital/argocd/prodwork01-argocd + targetRevision: main + + syncPolicy: + automated: + prune: true + selfHeal: true