[stable/minio] fix for deployment strategy recreate (#11546)

Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com>
This commit is contained in:
Christian Ingenhaag
2019-04-19 08:51:55 -07:00
committed by Kubernetes Prow Robot
parent 99918f9453
commit 1e6520aff9
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Minio is a high performance distributed object storage server, designed for large-scale private cloud infrastructure.
name: minio
version: 2.4.12
version: 2.4.13
appVersion: RELEASE.2019-04-09T01-22-30Z
keywords:
- storage
+4
View File
@@ -11,9 +11,13 @@ metadata:
spec:
strategy:
type: {{ .Values.DeploymentUpdate.type }}
{{- if eq .Values.DeploymentUpdate.type "RollingUpdate" }}
rollingUpdate:
maxSurge: {{ .Values.DeploymentUpdate.maxSurge }}
maxUnavailable: {{ .Values.DeploymentUpdate.maxUnavailable }}
{{- else }}
rollingUpdate: null
{{- end}}
{{- if .Values.nasgateway.enabled }}
replicas: {{ .Values.nasgateway.replicas }}
{{- end }}