Remove configPathmc config options
This commit is contained in:
parent
17d83f6bd4
commit
26707b648b
|
@ -144,7 +144,6 @@ The following table lists the configurable parameters of the MinIO chart and the
|
|||
| `accessKey` | Default access key (5 to 20 characters) | random 20 chars |
|
||||
| `secretKey` | Default secret key (8 to 40 characters) | random 40 chars |
|
||||
| `certsPath` | Default certs path location | `/etc/minio/certs` |
|
||||
| `configPathmc` | Default config file location for MinIO client - mc | `/etc/minio/mc` |
|
||||
| `mountPath` | Default mount location for persistent drive | `/export` |
|
||||
| `bucketRoot` | Directory from where minio should serve buckets. | Value of `.mountPath` |
|
||||
| `clusterDomain` | domain name of kubernetes cluster where pod is running. | `cluster.local` |
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -e ; # Have script exit in the event of a failed command.
|
||||
|
||||
{{- if .Values.configPathmc }}
|
||||
MC_CONFIG_DIR="{{ .Values.configPathmc }}"
|
||||
MC_CONFIG_DIR="/etc/minio/mc/"
|
||||
MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}"
|
||||
{{- else }}
|
||||
MC="/usr/bin/mc --insecure"
|
||||
{{- end }}
|
||||
|
||||
# connectToMinio
|
||||
# Use a check-sleep-check loop to wait for Minio service to be available
|
||||
|
|
|
@ -51,6 +51,6 @@ spec:
|
|||
mountPath: /config
|
||||
{{- if .Values.tls.enabled }}
|
||||
- name: cert-secret-volume-mc
|
||||
mountPath: {{ .Values.configPathmc }}certs
|
||||
mountPath: /etc/minio/mc/certs
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
|
|
|
@ -51,7 +51,6 @@ StatefulSetUpdate:
|
|||
accessKey: ""
|
||||
secretKey: ""
|
||||
certsPath: "/etc/minio/certs/"
|
||||
configPathmc: "/etc/minio/mc/"
|
||||
mountPath: "/export"
|
||||
|
||||
## Use existing Secret that store following variables:
|
||||
|
|
Loading…
Reference in New Issue