diff --git a/stable/memcached/Chart.yaml b/stable/memcached/Chart.yaml index 214432618755..c87126264ec3 100644 --- a/stable/memcached/Chart.yaml +++ b/stable/memcached/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: memcached -version: 3.2.2 +version: 3.2.3 appVersion: 1.5.20 description: Free & open source, high-performance, distributed memory object caching system. diff --git a/stable/memcached/templates/statefulset.yaml b/stable/memcached/templates/statefulset.yaml index 6140509c0eb1..ee42f117fb4b 100644 --- a/stable/memcached/templates/statefulset.yaml +++ b/stable/memcached/templates/statefulset.yaml @@ -122,7 +122,11 @@ spec: affinity: {{ toYaml . | trim | indent 8}} {{- end }} +{{- if eq .Values.kind "StatefulSet" }} updateStrategy: +{{- else }} + strategy: +{{- end }} type: {{ .Values.updateStrategy.type }} {{- if (eq "Recreate" .Values.updateStrategy.type) }} rollingUpdate: null