set server side apply to all applications

This commit is contained in:
2024-06-22 17:49:19 -05:00
parent 5e812fe003
commit c374b05e08
2 changed files with 4 additions and 4 deletions

View File

@@ -51,6 +51,6 @@ spec:
syncOptions: syncOptions:
- CreateNamespace={{ $stack.syncPolicy.syncOptions.createNamespace | default true }} - CreateNamespace={{ $stack.syncPolicy.syncOptions.createNamespace | default true }}
- ApplyOutOfSyncOnly={{ $stack.syncPolicy.syncOptions.applyOutOfSyncOnly | default true }} - ApplyOutOfSyncOnly={{ $stack.syncPolicy.syncOptions.applyOutOfSyncOnly | default true }}
- ServerSideApply={{ $stack.syncPolicy.syncOptions.serverSideApply | default false }} - ServerSideApply={{ $stack.syncPolicy.syncOptions.serverSideApply | default true }}
- PruneLast={{ $stack.syncPolicy.syncOptions.pruneLast | default true }} - PruneLast={{ $stack.syncPolicy.syncOptions.pruneLast | default true }}
{{- end }} {{- end }}

View File

@@ -9,14 +9,14 @@ applicationSet:
automated: automated:
prune: true prune: true
syncOptions: syncOptions:
createNamespace: true serverSideApply: true
- name: deployment - name: deployment
namespace: argocd namespace: argocd
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
syncOptions: syncOptions:
createNamespace: true serverSideApply: true
- name: platform - name: platform
syncPolicy: syncPolicy:
automated: automated:
@@ -39,4 +39,4 @@ applicationSet:
automated: automated:
prune: true prune: true
syncOptions: syncOptions:
createNamespace: true serverSideApply: true