diff --git a/bootstrap/root.yaml b/bootstrap/root.yaml new file mode 100644 index 0000000..684da4a --- /dev/null +++ b/bootstrap/root.yaml @@ -0,0 +1,21 @@ +# App-of-apps: ye ek Application baaki saari Applications ko manage karta hai. +# Naya module aaya to bas apps/.yaml commit karo - ArgoCD khud utha lega. +# Ise sirf ek baar haath se apply karna hota hai. +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: root + namespace: argocd +spec: + project: default + source: + repoURL: https://ns31240276.ip-51-195-4.eu/devops/gitops.git + targetRevision: main + path: apps + destination: + server: https://kubernetes.default.svc + namespace: argocd + syncPolicy: + automated: + prune: true + selfHeal: true