Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/memcached] fixes updateStrategy for Deployment #18989

Merged
merged 8 commits into from
Mar 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/memcached/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 4 additions & 0 deletions stable/memcached/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down