[stable/redis] Set rollingUpdate to null when updateStrategy is Recreate (#12329)

* [stable/redis] Set rollingUpdate to null when updateStrategy is Recreate

Signed-off-by: juan131 <juan@bitnami.com>

* Fix version in 'Chart.yaml'

Signed-off-by: juan131 <juan@bitnami.com>

* Fix 'redis-master-statefulset.yaml' template

Signed-off-by: juan131 <juan@bitnami.com>
This commit is contained in:
Juan Ariza Toledano
2019-03-18 03:37:17 -07:00
committed by Kubernetes Prow Robot
parent 852b3aa032
commit 09d0b3eb12
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: redis
version: 6.4.0
version: 6.4.1
appVersion: 4.0.13
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
keywords:
@@ -242,6 +242,10 @@ spec:
updateStrategy:
type: {{ .Values.master.statefulset.updateStrategy }}
{{- if .Values.master.statefulset.rollingUpdatePartition }}
{{- if (eq "Recreate" .Values.master.statefulset.updateStrategy) }}
rollingUpdate: null
{{- else }}
rollingUpdate:
partition: {{ .Values.master.statefulset.rollingUpdatePartition }}
{{- end }}
{{- end }}