helm: make sure deployments get RevisionHistoryLimit
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 39c061fc49)
This commit is contained in:
1 parent
c7ea87ca92
commit
bd3bdb78d8
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
|
||||
|
||||
Reference in new issue
Block a user