Skip to content

Commit 3891885

Browse files
russellharshavardhana
authored andcommitted
helm: fix creating users, via proper secretKey (minio#16310)
1 parent b882310 commit 3891885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helm/minio/templates/_helper_create_user.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ connectToMinio $scheme
9393
{{- range .Values.users }}
9494
echo {{ tpl .accessKey $global }} > $MINIO_ACCESSKEY_SECRETKEY_TMP
9595
{{- if .existingSecret }}
96-
cat /config/secrets/{{ tpl .existingSecret $global }}/{{ tpl .existingSecretKey $global }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP
96+
cat /config/secrets/{{ tpl .existingSecretKey $global }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP
9797
# Add a new line if it doesn't exist
9898
sed -i '$a\' $MINIO_ACCESSKEY_SECRETKEY_TMP
9999
createUser {{ .policy }}

0 commit comments

Comments
 (0)