support GCS gateway on vanilla helm chart (#13810)

These changes have been migrated from the previous chart: https://github.com/helm/charts/tree/master/stable/minio

Added `GCS` support for gateway mode in the helm chart.

Added a new GCS block under the gateway key to the house 
the GCS-specific variables.

The gateway-deployment template now sets the env var: GOOGLE_APPLICATION_CREDENTIALS as a path to the 
service-account-file.json

The service-account-file.json can be added to the MinIO 
the secret if an existingSecret is not specified.
This commit is contained in:
Daryl Hughes
2021-12-15 20:30:13 +00:00
committed by GitHub
parent 4fa250a6a1
commit d6396f82fe
3 changed files with 24 additions and 3 deletions
+7 -3
View File
@@ -28,12 +28,13 @@ mcImage:
tag: RELEASE.2021-11-16T20-37-36Z
pullPolicy: IfNotPresent
## minio mode, i.e. standalone or distributed or gateway (nas)
## minio mode, i.e. standalone or distributed or gateway (nas,gcs)
## Distributed MinIO ref: https://docs.minio.io/docs/distributed-minio-quickstart-guide
## NAS Gateway MinIO ref: https://docs.min.io/docs/minio-gateway-for-nas.html
## GCS Gateway MinIO ref: https://docs.min.io/docs/minio-gateway-for-gcs.html
mode: distributed
## NOTE: currently only "nas" gateway is supported.
## NOTE: currently only "nas,gcs" gateways are supported.
## Additional labels to include with deployment or statefulset
additionalLabels: []
@@ -105,8 +106,11 @@ pools: 1
# Deploy if 'mode == gateway' - 4 replicas.
gateway:
type: "nas" # currently only "nas" is supported.
type: "nas" # currently only "nas,gcs" are supported.
replicas: 4
gcs:
serviceAccountFile: "" # credential JSON file of service account key (not required if using existing secret)
projectId: "" # Google cloud project id required
## TLS Settings for MinIO
tls: