diff --git a/stable/redis/Chart.yaml b/stable/redis/Chart.yaml index a30a870856..87a0999dd8 100644 --- a/stable/redis/Chart.yaml +++ b/stable/redis/Chart.yaml @@ -1,5 +1,5 @@ name: redis -version: 4.2.8 +version: 4.2.9 appVersion: 4.0.11 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: diff --git a/stable/redis/templates/redis-slave-deployment.yaml b/stable/redis/templates/redis-slave-deployment.yaml index d587f55fc4..b5afd18831 100644 --- a/stable/redis/templates/redis-slave-deployment.yaml +++ b/stable/redis/templates/redis-slave-deployment.yaml @@ -9,6 +9,10 @@ metadata: release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" spec: +{{- if .Values.slave.updateStrategy }} + strategy: +{{ toYaml .Values.slave.updateStrategy | indent 4 }} +{{- end }} {{- if .Values.cluster.slaveCount }} replicas: {{ .Values.cluster.slaveCount }} {{- end }} diff --git a/stable/redis/values.yaml b/stable/redis/values.yaml index f0ee04db25..0ceb1f17a0 100644 --- a/stable/redis/values.yaml +++ b/stable/redis/values.yaml @@ -245,6 +245,10 @@ slave: # extraFlags: [] ## Comma-separated list of Redis commands to disable # disableCommands: "" + ## deployment update stategy + # updateStrategy: + # rollingUpdate: + # maxUnavailable: 0 ## Redis Slave pod/node affinity/anti-affinity ##