roozeec/argocd-app-configpublic Fork 0
5911837
Commits
Clone
git clone https://git.rickub.com/roozeec/argocd-app-config.git
git clone ssh://git@rickub.com/roozeec/argocd-app-config.git

Fix

Nana Janashia committed 2021-10-10T18:52:39+02:00 Browse files
5911837 parent: 2533903
modified app.yaml +12 -0
@@ -14,3 +14,15 @@ spec:
1414 destination:
1515 server: https://kubernetes.default.svc
1616 namespace: myapp
17+
18+ syncPolicy:
19+ # create namespace automatically
20+ syncOptions:
21+ - CreateNamespace=true
22+
23+ # sync automatically
24+ automated:
25+ # delete components if they get removed or renamed in repo
26+ prune: true
27+ # undo manual cluster changes
28+ selfHeal: true
@@ -14,3 +14,15 @@ spec:
14 destination:14 destination:
15 server: https://kubernetes.default.svc15 server: https://kubernetes.default.svc
16 namespace: myapp16 namespace: myapp
17+
18+ syncPolicy:
19+ # create namespace automatically
20+ syncOptions:
21+ - CreateNamespace=true
22+
23+ # sync automatically
24+ automated:
25+ # delete components if they get removed or renamed in repo
26+ prune: true
27+ # undo manual cluster changes
28+ selfHeal: true