From 290a53d7353ce8681d878c3fec25984c8844bde7 Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Fri, 22 Jul 2022 19:25:22 +0200 Subject: [PATCH] helm: Use existingSecretKey as in the user example (#15386) --- helm/minio/templates/_helper_create_user.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/minio/templates/_helper_create_user.txt b/helm/minio/templates/_helper_create_user.txt index 425a2c2b1..ae070ca47 100644 --- a/helm/minio/templates/_helper_create_user.txt +++ b/helm/minio/templates/_helper_create_user.txt @@ -93,7 +93,7 @@ connectToMinio $scheme {{- range .Values.users }} echo {{ tpl .accessKey $global }} > $MINIO_ACCESSKEY_SECRETKEY_TMP {{- if .existingSecret }} -cat /config/secrets/{{ tpl .secretKey $global }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP +cat /config/secrets/{{ tpl .existingSecretKey $global }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP createUser {{ .policy }} {{ else }} echo {{ .secretKey }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP