Feat: tune ArgoCD sync options
This commit is contained in:
parent
ccdf4652cf
commit
9e9ae3e8b8
@ -25,8 +25,7 @@ spec:
|
|||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- ServerSideApply=true
|
- ApplyOutOfSyncOnly=true
|
||||||
# - ApplyOutOfSyncOnly=true
|
|
||||||
info:
|
info:
|
||||||
- name: "Source:"
|
- name: "Source:"
|
||||||
value: "https://git.zero-downtime.net/ZeroDownTime/KubeZero/src/branch/release/v1.32/"
|
value: "https://git.zero-downtime.net/ZeroDownTime/KubeZero/src/branch/release/v1.32/"
|
||||||
|
@ -9,10 +9,11 @@ metadata:
|
|||||||
namespace: argocd
|
namespace: argocd
|
||||||
labels:
|
labels:
|
||||||
{{- include "kubezero-lib.labels" . | nindent 4 }}
|
{{- include "kubezero-lib.labels" . | nindent 4 }}
|
||||||
{{- with ( index .Values $name "annotations" ) }}
|
|
||||||
annotations:
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-options: Replace=true
|
||||||
|
{{- with ( index .Values $name "annotations" ) }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if not ( index .Values $name "retain" ) }}
|
{{- if not ( index .Values $name "retain" ) }}
|
||||||
finalizers:
|
finalizers:
|
||||||
- resources-finalizer.argocd.argoproj.io
|
- resources-finalizer.argocd.argoproj.io
|
||||||
@ -38,9 +39,8 @@ spec:
|
|||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- ServerSideApply=true
|
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
# - ApplyOutOfSyncOnly=true
|
- ApplyOutOfSyncOnly=true
|
||||||
info:
|
info:
|
||||||
- name: "Source:"
|
- name: "Source:"
|
||||||
value: "https://git.zero-downtime.net/ZeroDownTime/KubeZero/src/branch/release/v1.31/charts/kubezero-{{ $name }}"
|
value: "https://git.zero-downtime.net/ZeroDownTime/KubeZero/src/branch/release/v1.31/charts/kubezero-{{ $name }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user