mirror of
https://github.com/minio/minio.git
synced 2025-01-13 16:03:21 -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 }}
|
{{- range .Values.users }}
|
||||||
echo {{ tpl .accessKey $global }} > $MINIO_ACCESSKEY_SECRETKEY_TMP
|
echo {{ tpl .accessKey $global }} > $MINIO_ACCESSKEY_SECRETKEY_TMP
|
||||||
{{- if .existingSecret }}
|
{{- if .existingSecret }}
|
||||||
cat /config/secrets/{{ tpl .secretKey $global }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP
|
cat /config/secrets/{{ tpl .existingSecretKey $global }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP
|
||||||
createUser {{ .policy }}
|
createUser {{ .policy }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
echo {{ .secretKey }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP
|
echo {{ .secretKey }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP
|
||||||
|
Loading…
Reference in New Issue
Block a user