diff --git a/stable/minio/Chart.yaml b/stable/minio/Chart.yaml index 496d571ae1..2b4f2c369e 100755 --- a/stable/minio/Chart.yaml +++ b/stable/minio/Chart.yaml @@ -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 diff --git a/stable/minio/templates/deployment.yaml b/stable/minio/templates/deployment.yaml index d21ce81077..3773dd57ca 100644 --- a/stable/minio/templates/deployment.yaml +++ b/stable/minio/templates/deployment.yaml @@ -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 }}