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

Signed-off-by: Sergi Alonso Badia <sergi.badia@datastax.com>
This commit is contained in:
Sergi Alonso Badia 2023-03-01 17:22:37 +01:00
parent 7b499adc8b
commit 80947f83a8
4 changed files with 6 additions and 1 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-apps
description: A Helm chart for managing additional Argo CD Applications and Projects
type: application
version: 0.0.8
version: 0.0.9
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords:

View file

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

View file

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

View file

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