From 1e6520aff9e35eee8e8a3abbfe4303f888475097 Mon Sep 17 00:00:00 2001 From: Christian Ingenhaag Date: Fri, 19 Apr 2019 17:51:55 +0200 Subject: [PATCH] [stable/minio] fix for deployment strategy recreate (#11546) Signed-off-by: Christian Ingenhaag --- stable/minio/Chart.yaml | 2 +- stable/minio/templates/deployment.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 }}