Skip to content

Commit 0ffb55c

Browse files
author
Barkha Choithani
committed
updated usage instructions in notes
1 parent 52d4570 commit 0ffb55c

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

charts/templates/NOTES.txt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
1+
{{- define "marklogic.fqdn" -}}
2+
{{- printf "%s-0.%s.%s.svc.cluster.local" (include "marklogic.fullname" .) (include "marklogic.headlessServiceName" .) .Release.Namespace }}
3+
{{- end}}
4+
15
Thank you for installing {{ .Chart.Name }}.
26

37
Your release is named {{ .Release.Name }}.
48

5-
To check the status of the release, try:
9+
FQDN is {{ include "marklogic.fqdn" . }}
10+
11+
Group {{ .Values.group.name }} is created on the MarkLogic cluster.
612

7-
$ helm status {{ .Release.Name }}
13+
{{- if .Values.group.enableXdqpSsl }}
14+
xdqp-ssl-enabled is turned on for {{ .Values.group.name }} group.
15+
{{- else }}
16+
xdqp-ssl-enabled is turned off for {{ .Values.group.name }} group.
17+
{{- end }}
818

919
To get pods in the {{ .Release.Namespace }} namespace, try:
1020

1121
$ kubectl get pods --namespace={{ .Release.Namespace }}
1222

1323
To get all services in the {{ .Release.Namespace }} namespace, try:
1424

15-
$ kubectl get services --namespace=default
16-
17-
To get admin credentials of the MarkLogic cluster, follow below steps:
18-
19-
First get the name of the secrets, run:
25+
$ kubectl get services --namespace={{ .Release.Namespace }}
2026

21-
$ kubectl get secrets
27+
To get admin credentials of the MarkLogic cluster, run:
2228

23-
Copy the secret name from step 1 and run below command to extract admin password
24-
25-
$ kubectl get secret SECRET_NAME -o jsonpath='{.data.marklogic-password}' | base64 --decode
29+
$ kubectl get secret {{ include "marklogic.fullname" . }}-admin -o jsonpath='{.data.password}' | base64 --decode
2630

2731
To connect to the {{ .Chart.Name }} cluster, use port forwarding:
2832

@@ -35,7 +39,3 @@ To connect to the {{ .Chart.Name }} cluster, use port forwarding:
3539
$ kubectl port-forward {{ include "marklogic.fullname" . }}-0 8001:8001
3640

3741
MarkLogic admin UI can be accessed at http://localhost:8001
38-
39-
To check the groups created in the MarkLogic cluster, go to http://localhost:8002/manage/v2/groups
40-
41-
To check other properties of the {{ .Values.group.name }} group in the cluster, go to http://localhost:8002/manage/v2/groups/{{ .Values.group.name }}/properties

0 commit comments

Comments
 (0)