feat(argocd-apps): syncOptions for applications (#2176)

Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
Mathieu Parent 2023-07-22 15:46:38 +02:00 committed by GitHub
parent 137bb9e177
commit 83e5d83492
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-apps
description: A Helm chart for managing additional Argo CD Applications and Projects
type: application
version: 1.3.0
version: 1.4.0
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords:
@ -18,4 +18,4 @@ annotations:
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: added
description: add permitOnlyProjectScopedClusters flag to Projects defaulting to false
description: syncOptions for applications

View file

@ -37,6 +37,10 @@ spec:
syncPolicy:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .syncOptions }}
syncOptions:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .revisionHistoryLimit }}
revisionHistoryLimit: {{ . }}
{{- end }}

View file

@ -30,6 +30,8 @@ applications: []
# automated:
# prune: false
# selfHeal: false
# syncOptions:
# - CreateNamespace=true
# revisionHistoryLimit: null
# ignoreDifferences:
# - group: apps