fix(argocd-apps): Add revisionHistoryLimit option to apps
Signed-off-by: Sergi Alonso Badia <sergi.badia@datastax.com>
This commit is contained in:
parent
7b499adc8b
commit
4f557c8474
4 changed files with 6 additions and 1 deletions
|
@ -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:
|
||||||
|
|
|
@ -20,6 +20,7 @@ applications:
|
||||||
automated:
|
automated:
|
||||||
prune: false
|
prune: false
|
||||||
selfHeal: false
|
selfHeal: false
|
||||||
|
revisionHistoryLimit: 5
|
||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
- group: apps
|
- group: apps
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
|
@ -30,6 +30,7 @@ applications: []
|
||||||
# automated:
|
# automated:
|
||||||
# prune: false
|
# prune: false
|
||||||
# selfHeal: false
|
# selfHeal: false
|
||||||
|
# revisionHistoryLimit: 5
|
||||||
# ignoreDifferences:
|
# ignoreDifferences:
|
||||||
# - group: apps
|
# - group: apps
|
||||||
# kind: Deployment
|
# kind: Deployment
|
||||||
|
|
Loading…
Reference in a new issue