app-of-apps root

This commit is contained in:
devops 2026-09-16 16:25:59 +00:00
parent 8e797d5723
commit b86b8efccf

21
bootstrap/root.yaml Normal file
View File

@ -0,0 +1,21 @@
# App-of-apps: ye ek Application baaki saari Applications ko manage karta hai.
# Naya module aaya to bas apps/<naam>.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