Skip to content

Commit

Permalink
[stable/minio] Document azuregatway.replicas, fix template conditiona…
Browse files Browse the repository at this point in the history
…l logic that ot… (helm#11212)

* Document azuregatway.replicas, fix template conditional logic that otherwise fails for 'azuregateway.enabled: true', bump chart version

Signed-off-by: John de Freitas <[email protected]>

* update chart version; since original PR, there have been changes to this field

Signed-off-by: John de Freitas <[email protected]>
  • Loading branch information
jgdef-tulip authored and k8s-ci-robot committed Mar 1, 2019
1 parent 0b62512 commit 0e99601
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/minio/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions stable/minio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | `""` |
Expand Down
2 changes: 1 addition & 1 deletion stable/minio/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0e99601

Please sign in to comment.