fix(argocd-apps): Add revisionHistoryLimit option to apps (#1874)

This commit is contained in:
Sergi Alonso 2023-03-02 15:56:41 +01:00 committed by GitHub
parent 053a338ea9
commit 037d3a9e76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 1 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: 0.0.8 version: 0.0.9
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:

View file

@ -20,6 +20,7 @@ applications:
automated: automated:
prune: false prune: false
selfHeal: false selfHeal: false
revisionHistoryLimit: null
ignoreDifferences: ignoreDifferences:
- group: apps - group: apps
kind: Deployment kind: Deployment

View file

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

View file

@ -30,6 +30,7 @@ applications: []
# automated: # automated:
# prune: false # prune: false
# selfHeal: false # selfHeal: false
# revisionHistoryLimit: null
# ignoreDifferences: # ignoreDifferences:
# - group: apps # - group: apps
# kind: Deployment # kind: Deployment