mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
852b3aa032
commit
09d0b3eb12
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user