NAS-111810 / 21.08 / Fixes #116 by swapping MINIO_ACCESS_KEY and MINIO_SECRET_KEY (#117)

* Fixes #116 by swapping MINIO_ACCESS_KEY and MINIO_SECRET_KEY with MINIO_ROOT_USER and MINIO_ROOT_PASSWORD

Signed-off-by: Josh Cox <josh@webhosting.coop>

* Removing default_values.yaml as per request

Signed-off-by: Josh Cox <josh@webhosting.coop>

* 1.3.12

Signed-off-by: Josh Cox <josh@webhosting.coop>

* Moving test
This commit is contained in:
Josh Cox
2021-08-16 09:26:15 -05:00
committed by GitHub
parent db6b0da907
commit 5cd292fb06
40 changed files with 14 additions and 36 deletions

View File

@@ -16,4 +16,4 @@ sources:
- https://github.com/minio/minio
- https://github.com/minio/charts
upstream_version: 8.0.5
version: 1.3.11
version: 1.3.12

View File

@@ -73,9 +73,9 @@ questions:
type: string
- variable: accessKey
label: "Access Key"
label: "Root User"
group: "Minio Configuration"
description: "Enter the S3 access ID"
description: "Enter the S3 Root User"
schema:
type: string
private: true
@@ -84,9 +84,9 @@ questions:
max_length: 20
- variable: secretKey
label: "Secret Key"
label: "Root Password"
group: "Minio Configuration"
description: "Enter the S3 secret access key"
description: "Enter the S3 Root Password"
schema:
type: string
private: true

View File

@@ -46,8 +46,8 @@ spec:
{{ $envList = mustAppend $envList (dict "name" "MINIO_BROWSER_REDIRECT_URL" "value" (printf "%s://%s:%d" (include "minio.scheme" .) .Values.minioDomain (.Values.service.consolePort | int))) }}
{{ $envList = mustAppend $envList (dict "name" "MINIO_SERVER_URL" "value" (printf "%s://%s:%d" (include "minio.scheme" .) .Values.minioDomain (.Values.service.nodePort | int))) }}
{{ end }}
{{ $envList = mustAppend $envList (dict "name" "MINIO_ACCESS_KEY" "valueFromSecret" true "secretName" $secretName "secretKey" "accesskey") }}
{{ $envList = mustAppend $envList (dict "name" "MINIO_SECRET_KEY" "valueFromSecret" true "secretName" $secretName "secretKey" "secretkey") }}
{{ $envList = mustAppend $envList (dict "name" "MINIO_ROOT_USER" "valueFromSecret" true "secretName" $secretName "secretKey" "accesskey") }}
{{ $envList = mustAppend $envList (dict "name" "MINIO_ROOT_PASSWORD" "valueFromSecret" true "secretName" $secretName "secretKey" "secretkey") }}
{{ include "common.containers.environmentVariables" (dict "environmentVariables" $envList) | nindent 12 }}
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
{{ include "common.storage.allAppVolumes" .Values | nindent 6 }}

View File

@@ -1,22 +0,0 @@
## Set default image, imageTag, and imagePullPolicy. mode is used to indicate the
##
image:
repository: minio/minio
tag: RELEASE.2020-11-19T23-48-16Z
pullPolicy: IfNotPresent
## Additional arguments to pass to minio binary
extraArgs: []
updateStrategy: RollingUpdate
service:
nodePort: 9000
environment:
## Please refer for comprehensive list https://docs.minio.io/docs/minio-server-configuration-guide.html
appVolumeMounts:
export:
emptyDir: true
mountPath: "/export"

View File

@@ -16,4 +16,4 @@ sources:
- https://github.com/minio/minio
- https://github.com/minio/charts
upstream_version: 8.0.5
version: 1.3.11
version: 1.3.12

View File

@@ -73,9 +73,9 @@ questions:
type: string
- variable: accessKey
label: "Access Key"
label: "Root User"
group: "Minio Configuration"
description: "Enter the S3 access ID"
description: "Enter the S3 Root User"
schema:
type: string
private: true
@@ -84,9 +84,9 @@ questions:
max_length: 20
- variable: secretKey
label: "Secret Key"
label: "Root Password"
group: "Minio Configuration"
description: "Enter the S3 secret access key"
description: "Enter the S3 Root Password"
schema:
type: string
private: true

View File

@@ -46,8 +46,8 @@ spec:
{{ $envList = mustAppend $envList (dict "name" "MINIO_BROWSER_REDIRECT_URL" "value" (printf "%s://%s:%d" (include "minio.scheme" .) .Values.minioDomain (.Values.service.consolePort | int))) }}
{{ $envList = mustAppend $envList (dict "name" "MINIO_SERVER_URL" "value" (printf "%s://%s:%d" (include "minio.scheme" .) .Values.minioDomain (.Values.service.nodePort | int))) }}
{{ end }}
{{ $envList = mustAppend $envList (dict "name" "MINIO_ACCESS_KEY" "valueFromSecret" true "secretName" $secretName "secretKey" "accesskey") }}
{{ $envList = mustAppend $envList (dict "name" "MINIO_SECRET_KEY" "valueFromSecret" true "secretName" $secretName "secretKey" "secretkey") }}
{{ $envList = mustAppend $envList (dict "name" "MINIO_ROOT_USER" "valueFromSecret" true "secretName" $secretName "secretKey" "accesskey") }}
{{ $envList = mustAppend $envList (dict "name" "MINIO_ROOT_PASSWORD" "valueFromSecret" true "secretName" $secretName "secretKey" "secretkey") }}
{{ include "common.containers.environmentVariables" (dict "environmentVariables" $envList) | nindent 12 }}
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
{{ include "common.storage.allAppVolumes" .Values | nindent 6 }}