diff --git a/test/minio/8.0.5/README.md b/test/minio/8.0.5/README.md index d93532eef20..e80e9346069 100755 --- a/test/minio/8.0.5/README.md +++ b/test/minio/8.0.5/README.md @@ -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` | diff --git a/test/minio/8.0.5/templates/_helper_create_bucket.txt b/test/minio/8.0.5/templates/_helper_create_bucket.txt index ad2f546b758..5a2cbaacac4 100644 --- a/test/minio/8.0.5/templates/_helper_create_bucket.txt +++ b/test/minio/8.0.5/templates/_helper_create_bucket.txt @@ -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 diff --git a/test/minio/8.0.5/templates/post-install-create-bucket-job.yaml b/test/minio/8.0.5/templates/post-install-create-bucket-job.yaml index ea1893e1b5b..6bf19fd8ba9 100644 --- a/test/minio/8.0.5/templates/post-install-create-bucket-job.yaml +++ b/test/minio/8.0.5/templates/post-install-create-bucket-job.yaml @@ -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 }} diff --git a/test/minio/8.0.5/values.yaml b/test/minio/8.0.5/values.yaml index 331a0889494..187b5cf2385 100644 --- a/test/minio/8.0.5/values.yaml +++ b/test/minio/8.0.5/values.yaml @@ -51,7 +51,6 @@ StatefulSetUpdate: accessKey: "" secretKey: "" certsPath: "/etc/minio/certs/" -configPathmc: "/etc/minio/mc/" mountPath: "/export" ## Use existing Secret that store following variables: