mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-27 08:38:58 +00:00
fix(helm): only render rollingUpdate when strategy type is RollingUpdate (#2728)
This commit is contained in:
@@ -14,8 +14,13 @@ metadata:
|
||||
spec:
|
||||
replicas: 1
|
||||
{{- with .Values.mode.standalone.strategy }}
|
||||
{{- $type := default "RollingUpdate" .type }}
|
||||
strategy:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
type: {{ $type }}
|
||||
{{- if and (eq $type "RollingUpdate") .rollingUpdate }}
|
||||
rollingUpdate:
|
||||
{{- toYaml .rollingUpdate | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
|
||||
Reference in New Issue
Block a user