helm: make sure deployments get RevisionHistoryLimit

Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Michael AdamandTravis Nielsen committed 2024-11-19 17:10:57 +01:00
1 parent a0fb9aa507
commit 39c061fc49
2 files changed
+6

No files matched your search

@@ -9,6 +9,9 @@ metadata:
app: rook-ceph-tools
spec:
replicas: 1
{{- if .Values.revisionHistoryLimit }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
{{- end }}
selector:
matchLabels:
app: rook-ceph-tools
@@ -9,6 +9,9 @@ metadata:
{{- include "library.rook-ceph.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.scaleDownOperator | ternary 0 1 }}
{{- if .Values.revisionHistoryLimit }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
{{- end }}
selector:
matchLabels:
app: rook-ceph-operator