Compare commits

..

2 Commits

Author SHA1 Message Date
3bbae76b98 chore(deps): update kubezero-ci-dependencies 2025-05-25 03:01:35 +00:00
9e9ae3e8b8 Feat: tune ArgoCD sync options 2025-05-24 14:10:26 +00:00
3 changed files with 6 additions and 7 deletions

View File

@ -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/"

View File

@ -30,7 +30,7 @@ dependencies:
repository: https://aquasecurity.github.io/helm-charts/ repository: https://aquasecurity.github.io/helm-charts/
condition: trivy.enabled condition: trivy.enabled
- name: renovate - name: renovate
version: 40.26.2 version: 40.29.1
repository: https://docs.renovatebot.com/helm-charts repository: https://docs.renovatebot.com/helm-charts
condition: renovate.enabled condition: renovate.enabled
kubeVersion: ">= 1.25.0" kubeVersion: ">= 1.25.0"

View File

@ -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 }}"