mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
helm: Use existingSecretKey as in the user example (#15386)
This commit is contained in:
parent
2393a13f86
commit
290a53d735
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user