From 0e996014199c55c5f018dec7256bca46f8370aa0 Mon Sep 17 00:00:00 2001 From: John de Freitas <40548536+jgdef-tulip@users.noreply.github.com> Date: Thu, 28 Feb 2019 20:46:42 -0500 Subject: [PATCH] =?UTF-8?q?[stable/minio]=20Document=20azuregatway.replica?= =?UTF-8?q?s,=20fix=20template=20conditional=20logic=20that=20ot=E2=80=A6?= =?UTF-8?q?=20(#11212)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Document azuregatway.replicas, fix template conditional logic that otherwise fails for 'azuregateway.enabled: true', bump chart version Signed-off-by: John de Freitas * update chart version; since original PR, there have been changes to this field Signed-off-by: John de Freitas --- stable/minio/Chart.yaml | 2 +- stable/minio/README.md | 1 + stable/minio/templates/deployment.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/stable/minio/Chart.yaml b/stable/minio/Chart.yaml index aefd56291a..4de40d5772 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.6 +version: 2.4.7 appVersion: RELEASE.2019-02-12T21-58-47Z keywords: - storage diff --git a/stable/minio/README.md b/stable/minio/README.md index 1b10164779..cc79a8759f 100755 --- a/stable/minio/README.md +++ b/stable/minio/README.md @@ -148,6 +148,7 @@ The following table lists the configurable parameters of the Minio chart and the | `s3gateway.replicas` | Number of s3 gateway instances to run in parallel | `4` | | `s3gateway.serviceEndpoint`| Endpoint to the S3 compatible service | `""` | | `azuregateway.enabled` | Use minio as an [azure gateway](https://docs.minio.io/docs/minio-gateway-for-azure)| `false` | +| `azuregateway.replicas` | Number of azure gateway instances to run in parallel | `4` | | `gcsgateway.enabled` | Use minio as a [Google Cloud Storage gateway](https://docs.minio.io/docs/minio-gateway-for-gcs)| `false` | | `gcsgateway.gcsKeyJson` | credential json file of service account key | `""` | | `gcsgateway.projectId` | Google cloud project id | `""` | diff --git a/stable/minio/templates/deployment.yaml b/stable/minio/templates/deployment.yaml index af335b2deb..d089803335 100644 --- a/stable/minio/templates/deployment.yaml +++ b/stable/minio/templates/deployment.yaml @@ -166,7 +166,7 @@ spec: {{ toYaml . | indent 8 }} {{- end }} volumes: - {{- if and (not .Values.gcsgateway.enabled) (not .Values.azuregateway.enabled) (not .Values.s3gateway.enabled) }} + {{- if and ((not .Values.gcsgateway.enabled) (not .Values.azuregateway.enabled) (not .Values.s3gateway.enabled)) }} - name: export {{- if .Values.persistence.enabled }} persistentVolumeClaim: