Skip to content

Commit 72ad8fe

Browse files
committed
update document
1 parent 70d3452 commit 72ad8fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- [Configuration Options](#configuration-options)
1919
- [--values](#--values)
2020
- [--set](#--set)
21-
- [Setting MarkLogic admin password](#setting-marklogic-admin-password)
21+
- [Setting MarkLogic admin password](#setting-marklogic-admin-password)
2222
- [Log Collection](#log-collection)
2323
- [Adding and Removing Hosts from Clusters](#adding-and-removing-hosts-from-clusters)
2424
- [Adding Hosts](#adding-hosts)
@@ -227,7 +227,7 @@ helm install my-release marklogic/marklogic --version=1.0.0-ea1 \
227227

228228
We recommend that you use the `values.yaml` file for configuring your installation.
229229

230-
## Setting MarkLogic admin password
230+
### Setting MarkLogic admin password
231231

232232
If the password does not provided when installing the MarkLogic Chart, a randomly generated aphanumeric value will be set for MarkLogic admin password. This value is stored in Kuberenetes secrets.
233233
User can also set a custom password by setting auth.adminPassword value during installation.
@@ -239,9 +239,9 @@ kubectl get secrets
239239
```
240240
Identify the name of the secret.
241241

242-
2. Save the secret name from step 1 to get the admin password using the following script :
242+
2. Save the secret name from step 1 and get the admin password using the following script:
243243
```
244-
kubectl get secret SECRET_NAME -o jsonpath='{.data}'
244+
kubectl get secret SECRET_NAME -o jsonpath='{.data.marklogic-password}' | base64 --decode
245245
```
246246
### Log Collection
247247

0 commit comments

Comments
 (0)