Skip to content

Commit

Permalink
feat(argocd-apps): syncOptions for applications (#2176)
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
Co-authored-by: Aikawa <yu.croco@gmail.com>
  • Loading branch information
sathieu and yu-croco committed Jul 22, 2023
1 parent 137bb9e commit 83e5d83
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/argocd-apps/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
4 changes: 4 additions & 0 deletions charts/argocd-apps/templates/applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ spec:
syncPolicy:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .syncOptions }}
syncOptions:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .revisionHistoryLimit }}
revisionHistoryLimit: {{ . }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/argocd-apps/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ applications: []
# automated:
# prune: false
# selfHeal: false
# syncOptions:
# - CreateNamespace=true
# revisionHistoryLimit: null
# ignoreDifferences:
# - group: apps
Expand Down

0 comments on commit 83e5d83

Please sign in to comment.