Add azuregateway.enabled value to stable/minio chart to enable azure … (#3850)

* Add azuregateway.enabled value to stable/minio chart to enable azure gateway

* Change chart version.
This commit is contained in:
Philippe Granger
2018-02-23 11:12:44 -08:00
committed by k8s-ci-robot
parent 4eb9772d0a
commit 27b97dffdb
4 changed files with 13 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Distributed object storage server built for cloud applications and devops.
name: minio
version: 0.5.3
version: 0.5.4
keywords:
- storage
- object-storage
+2 -1
View File
@@ -98,7 +98,8 @@ The following tables lists the configurable parameters of the Minio chart and th
| `defaultBucket.enabled` | If set to true, a bucket will be created after minio install | `false` |
| `defaultBucket.name` | Bucket name | `bucket` |
| `defaultBucket.policy` | Bucket policy | `none` |
| `defaultBucket.purge` | Purge the bucket if already exists | `false` |
| `defaultBucket.purge` | Purge the bucket if already exists | `false` |
| `azuregateway.enabled` | Use minio as an [azure gateway](https://docs.minio.io/docs/minio-gateway-for-azure)| `false` |
Some of the parameters above map to the env variables defined in the [Minio DockerHub image](https://hub.docker.com/r/minio/minio/).
@@ -60,11 +60,15 @@ spec:
- name: minio
image: {{ .Values.image }}:{{ .Values.imageTag }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
{{- if .Values.azuregateway.enabled }}
args: ["gateway", "azure"]
{{- else }}
{{- if .Values.configPath }}
args: ["-C", "{{ .Values.configPath }}", "server", "{{ .Values.mountPath }}"]
{{- else }}
args: ["server", "{{ .Values.mountPath }}"]
{{- end }}
{{- end }}
volumeMounts:
- name: export
mountPath: {{ .Values.mountPath }}
+6
View File
@@ -82,6 +82,12 @@ defaultBucket:
## Purge if bucket exists already
purge: false
## Use minio as an azure blob gateway, you should disable data persistence so no volume claim are created.
## https://docs.minio.io/docs/minio-gateway-for-azure
azuregateway:
enabled: false
## https://docs.minio.io/docs/minio-bucket-notification-guide
##
minioConfig: