make argocd manage itself

This commit is contained in:
Mans Ziesel 2024-09-23 18:53:50 +02:00
parent 709fe18ef5
commit cbe9e0a8af
2 changed files with 21 additions and 0 deletions

View File

@ -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

View File

@ -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