We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ed98e commit 83e448bCopy full SHA for 83e448b
charts/all/minio/templates/setup-minio.yaml
@@ -47,11 +47,7 @@ metadata:
47
name: minio-secret
48
stringData:
49
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 }}
+ MINIO_ROOT_PASSWORD: {{ randAlphaNum 10 | b64enc }}
55
---
56
kind: Deployment
57
apiVersion: apps/v1
0 commit comments