File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- {{- $adminPassword := (randAlphaNum 8 ) | b64enc | quote }}
1
+ {{- $adminPassword := (randAlphaNum 10 ) | b64enc | quote }}
2
2
{{- $secret := (lookup "v1" "Secret" .Release.Namespace .Release.Name ) }}
3
3
{{- if $secret }}
4
4
{{- $adminPassword = index $secret.data "password" }}
@@ -14,9 +14,9 @@ metadata:
14
14
type : kubernetes.io/basic-auth
15
15
data :
16
16
{{- if .Values.auth.adminPassword }}
17
- password : {{ .Values.auth.adminPassword }}
17
+ password : {{ .Values.auth.adminPassword | b64enc | quote }}
18
18
{{- else }}
19
19
password : {{ $adminPassword }}
20
20
{{- end }}
21
21
stringData :
22
- username : {{ .Values.auth.adminUsername}}
22
+ username : {{ .Values.auth.adminUsername }}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ fullnameOverride: ""
50
50
# Configure Marklogic Admin Username and Password
51
51
auth :
52
52
adminUsername : admin
53
- adminPassword : " "
53
+ adminPassword : admin
54
54
55
55
# Configure Affinity property for scheduling pods to nodes
56
56
# ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
You can’t perform that action at this time.
0 commit comments