Skip to content

Commit 63547cf

Browse files
committed
change the secret type and key for password
1 parent 28680cd commit 63547cf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

charts/templates/secret.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ metadata:
1111
namespace: {{ .Release.Namespace }}
1212
labels:
1313
{{- include "marklogic.labels" . | nindent 4 }}
14-
type: kubernetes.io/basic-auth
14+
type: Opaque
1515
data:
1616
{{- if .Values.auth.adminPassword }}
17-
password: {{ .Values.auth.adminPassword | b64enc | quote }}
17+
marklogic-password: {{ .Values.auth.adminPassword | b64enc | quote }}
1818
{{- else }}
19-
password: {{ $adminPassword }}
19+
marklogic-password: {{ $adminPassword }}
2020
{{- end }}
2121
stringData:
2222
username: {{ .Values.auth.adminUsername }}

charts/templates/statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ spec:
7575
valueFrom:
7676
secretKeyRef:
7777
name: {{ include "marklogic.fullname" . }}
78-
key: password
78+
key: marklogic-password
7979
- name: POD_NAME
8080
valueFrom:
8181
fieldRef:
@@ -104,7 +104,7 @@ spec:
104104
valueFrom:
105105
secretKeyRef:
106106
name: {{ include "marklogic.fullname" . }}
107-
key: password
107+
key: marklogic-password
108108
- name: MARKLOGIC_GROUP
109109
value: {{ .Values.group.name }}
110110
- name: POD_NAME

0 commit comments

Comments
 (0)