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

Commit

Permalink
[stable/memcached] Set specific keys for updateStrategy to follow con…
Browse files Browse the repository at this point in the history
…vention

Signed-off-by: Remington Reackhof <rreackhof@rmn.com>
  • Loading branch information
Remington Reackhof committed Aug 16, 2019
1 parent 302baec commit d66f820
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions stable/memcached/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ spec:
affinity:
{{ toYaml . | trim | indent 8}}
{{- end }}
{{- with .Values.updateStrategy }}
updateStrategy:
{{ toYaml . | indent 4 }}
type: {{ .Values.updateStrategy.type }}
{{- if (eq "Recreate" .Values.updateStrategy.type) }}
rollingUpdate: null
{{- end }}
{{- end }}

0 comments on commit d66f820

Please sign in to comment.