Commit 5e926688 authored by Lars Fenneberg's avatar Lars Fenneberg

Helm charts: Fix name of update strategy field for StatefulSet

parent 21270059
......@@ -35,10 +35,14 @@ spec:
matchLabels:
app.kubernetes.io/name: {{ template "viking-service.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.vikingService.updateStrategy }}
{{- if .Values.vikingService.updateStrategy }}
{{- if eq .Values.vikingService.kind "Deployment" }}
strategy:
{{- toYaml .Values.vikingService.updateStrategy | nindent 4 }}
{{- else }}
updateStrategy:
{{- end }}
{{- toYaml .Values.vikingService.updateStrategy | nindent 4 }}
{{- end }}
replicas: {{ .Values.vikingService.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
template:
......
......@@ -68,8 +68,8 @@ vikingService:
##
annotations: {}
# The update strategy to apply to the Deployment or DaemonSet
##
# The update strategy to apply
# NB: Update strategy configuration differs between a Deployment and a StatefulSet
updateStrategy: {}
# rollingUpdate:
# maxUnavailable: 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment