Просмотр исходного кода

Remove configPathmc config options

Waqar Ahmed 5 лет назад
Родитель
Сommit
26707b648b

+ 0 - 1
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`                  |

+ 1 - 5
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

+ 1 - 1
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 }}

+ 0 - 1
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: