[bitnami/minio] Fix passwords checks (#6458)

This commit is contained in:
Miguel Ángel Cabrera Miñagorri
2021-05-26 10:05:02 +02:00
committed by GitHub
parent 18afd27099
commit b7be39e162

View File

@@ -76,7 +76,7 @@ To access the MinIO(R) web UI:
{{- $requiredPassword := list -}}
{{- $secretName := include "minio.secretName" . -}}
{{- if and (not .Values.existingSecret) (not .Values.forceNewKeys) -}}
{{- if and (not .Values.existingSecret) (not .Values.forceNewKeys) (not .Values.gateway.enabled) -}}
{{- $requiredAccessKey := dict "valueKey" "accessKey.password" "secret" $secretName "field" "access-key" -}}
{{- $requiredSecretKey := dict "valueKey" "secretKey.password" "secret" $secretName "field" "secret-key" -}}
{{- $requiredPassword = append $requiredPassword $requiredAccessKey -}}