app-of-apps root
This commit is contained in:
parent
8e797d5723
commit
b86b8efccf
21
bootstrap/root.yaml
Normal file
21
bootstrap/root.yaml
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user