Skip to content

Commit

Permalink
fix(argocd-apps): fix indent of syncOptions (#2181)
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-croco authored Jul 23, 2023
1 parent 83e5d83 commit 0453552
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 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.4.0
version: 1.4.1
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords:
Expand All @@ -17,5 +17,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: added
- kind: fixed
description: syncOptions for applications
2 changes: 2 additions & 0 deletions charts/argocd-apps/ci/applications-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ applications:
automated:
prune: false
selfHeal: false
syncOptions:
- ApplyOutOfSyncOnly=true
revisionHistoryLimit: null
ignoreDifferences:
- group: apps
Expand Down
4 changes: 0 additions & 4 deletions charts/argocd-apps/templates/applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ spec:
syncPolicy:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .syncOptions }}
syncOptions:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .revisionHistoryLimit }}
revisionHistoryLimit: {{ . }}
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions charts/argocd-apps/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ applications: []
# automated:
# prune: false
# selfHeal: false
# syncOptions:
# - CreateNamespace=true
# syncOptions:
# - CreateNamespace=true
# revisionHistoryLimit: null
# ignoreDifferences:
# - group: apps
Expand Down

0 comments on commit 0453552

Please sign in to comment.