From cbe9e0a8af0693e80a37daaed2b2f9137880b9ea Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Mon, 23 Sep 2024 18:53:50 +0200 Subject: [PATCH] make argocd manage itself --- argocd/base/argo-cd-app-of-apps.yaml | 20 ++++++++++++++++++++ argocd/kustomization.yaml | 1 + 2 files changed, 21 insertions(+) create mode 100644 argocd/base/argo-cd-app-of-apps.yaml diff --git a/argocd/base/argo-cd-app-of-apps.yaml b/argocd/base/argo-cd-app-of-apps.yaml new file mode 100644 index 0000000..6f67290 --- /dev/null +++ b/argocd/base/argo-cd-app-of-apps.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: argo-app-of-apps + namespace: argocd +spec: + destination: + name: '' + namespace: default + server: https://kubernetes.default.svc + source: + path: argocd-applications + repoURL: https://git.mziesel.nl/mans/argocd-test + targetRevision: HEAD + sources: [] + project: default + syncPolicy: + automated: + prune: true + selfHeal: true diff --git a/argocd/kustomization.yaml b/argocd/kustomization.yaml index 317fd9e..f52c0a3 100644 --- a/argocd/kustomization.yaml +++ b/argocd/kustomization.yaml @@ -6,3 +6,4 @@ namespace: argocd resources: - base/argo-cd-namespace.yaml - https://raw.githubusercontent.com/argoproj/argo-cd/master/manifests/ha/install.yaml +- base/argo-cd-app-of-apps.yaml