Skip to content

Commit 0440ecf

Browse files
Add sync options to ArgoCD application spec
Introduces CreateNamespace, ServerSideApply, and SkipDryRunOnMissingResource to the syncOptions for improved deployment behavior and resource handling.
1 parent 83849bd commit 0440ecf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

argocd/application.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
spec:
77
project: default
88
source:
9-
repoURL: 'https://github.com/karimzakzouk/helm'
9+
repoURL: "https://github.com/karimzakzouk/helm"
1010

1111
targetRevision: main
1212
path: .
@@ -23,6 +23,10 @@ spec:
2323
automated:
2424
prune: true
2525
selfHeal: true
26+
syncOptions:
27+
- CreateNamespace=true
28+
- ServerSideApply=true
29+
- SkipDryRunOnMissingResource=true
2630

2731
ignoreDifferences:
2832
- group: ""

0 commit comments

Comments
 (0)