mirror of
https://github.com/pgsty/minio.git
synced 2026-08-14 10:43:15 +03:00
Minio helm chart improvements for user and policy creation (#14216)
This commit is contained in:
@@ -78,6 +78,10 @@ connectToMinio $scheme
|
||||
{{ if .Values.users }}
|
||||
# Create the users
|
||||
{{- range .Values.users }}
|
||||
{{- if .existingSecret }}
|
||||
createUser {{ .accessKey }} $(cat /config/secrets/{{ .accessKey }}) {{ .policy }}
|
||||
{{ else }}
|
||||
createUser {{ .accessKey }} {{ .secretKey }} {{ .policy }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user