Skip to content

Commit

Permalink
[stable/memcached] fixes updateStrategy for Deployment (helm#18989)
Browse files Browse the repository at this point in the history
* [stable/memcached] fixes updateStrategy for Deployment

Signed-off-by: Raffael Sahli <sahli@gyselroth.com>

* bump chart version

Signed-off-by: Raffael Sahli <sahli@gyselroth.com>

* bump chart version

Signed-off-by: Raffael Sahli <sahli@gyselroth.com>
  • Loading branch information
k8s-ci-robot authored and Ian Levesque committed Jul 13, 2020
1 parent 37f2f4b commit e162b3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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

0 comments on commit e162b3a

Please sign in to comment.