We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55b8934 commit 9a7450eCopy full SHA for 9a7450e
charts/pihole/templates/deployment.yaml
@@ -14,6 +14,9 @@ metadata:
14
{{- end }}
15
spec:
16
replicas: {{ .Values.replicaCount }}
17
+ {{- if .Values.revisionHistoryLimit }}
18
+ revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
19
+ {{- end }}
20
strategy:
21
type: {{ .Values.strategyType }}
22
{{- if eq .Values.strategyType "RollingUpdate" }}
charts/pihole/values.yaml
@@ -14,6 +14,9 @@ maxSurge: 1
# -- The maximum number of Pods that can be unavailable during updating
maxUnavailable: 1
+# -- The number of old ReplicaSets to retain to allow rollback
+revisionHistoryLimit: 10
+
image:
# -- the repostory to pull the image from
repository: "pihole/pihole"
0 commit comments