fix(argocd-apps): fix indent of syncOptions (#2181)

This commit is contained in:
Aikawa 2023-07-23 13:25:51 +09:00 committed by GitHub
parent 83e5d83492
commit 0453552b32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 8 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-apps name: argocd-apps
description: A Helm chart for managing additional Argo CD Applications and Projects description: A Helm chart for managing additional Argo CD Applications and Projects
type: application type: application
version: 1.4.0 version: 1.4.1
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords: keywords:
@ -17,5 +17,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252 fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: added - kind: fixed
description: syncOptions for applications description: syncOptions for applications

View file

@ -20,6 +20,8 @@ applications:
automated: automated:
prune: false prune: false
selfHeal: false selfHeal: false
syncOptions:
- ApplyOutOfSyncOnly=true
revisionHistoryLimit: null revisionHistoryLimit: null
ignoreDifferences: ignoreDifferences:
- group: apps - group: apps

View file

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