Skip to content

Commit 83e448b

Browse files
committed
update logic for root password
1 parent c9ed98e commit 83e448b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

charts/all/minio/templates/setup-minio.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@ metadata:
4747
name: minio-secret
4848
stringData:
4949
MINIO_ROOT_USER: minio
50-
MINIO_ROOT_PASSWORD: {{- if not (lookup "v1" "Secret" .Release.Namespace "minio-secret") }}
51-
{{ randAlphaNum 10 | b64enc }}
52-
{{- else }}
53-
{{ (lookup "v1" "Secret" .Release.Namespace "minio-secret").data.minio_root_password | b64dec }}
54-
{{- end }}
50+
MINIO_ROOT_PASSWORD: {{ randAlphaNum 10 | b64enc }}
5551
---
5652
kind: Deployment
5753
apiVersion: apps/v1

0 commit comments

Comments
 (0)