Skip to content

Commit 7f9d211

Browse files
monraxwilliamtrelawny
authored andcommitted
Update README.md
1 parent 80ae80c commit 7f9d211

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -361,24 +361,28 @@ helm upgrade -i graylog ./graylog -n graylog --reuse-values --set global.existin
361361
> [!IMPORTANT]
362362
> As a result of setting a global secret override, all Graylog and Mongo secrets are assumed to be managed externally.
363363
> Accordingly, any of the following configuration values will be ignored:
364-
> - graylog.config.rootPassword
365-
> - graylog.config.rootUsername
366-
> - graylog.config.secretPepper
367-
> - graylog.config.tls.keyPassword
364+
> - `graylog.config.rootPassword`
365+
> - `graylog.config.rootUsername`
366+
> - `graylog.config.secretPepper`
367+
> - `graylog.config.tls.keyPassword`
368368

369369
## Bring Your Own MongoDB
370370

371371
By default, this chart deploys a MongoDB replicaset using [the Bitnami MongoDB chart](https://artifacthub.io/packages/helm/bitnami/mongodb) as a dependency.
372372
If you prefer to use your own MongoDB instance, you can disable the bundled MongoDB and configure the chart to connect to your external database:
373373

374374
```sh
375-
helm upgrade -i graylog ./graylog -n graylog --reuse-values --set mongodb.subchart.enabled=false --set graylog.config.mongodb.customUri="mongodb://<username>:<password>@<hostname>:<port>[,<hostname-i>:<port-i>]/<db>"
375+
helm upgrade --install graylog ./graylog --namespace graylog --reuse-values \
376+
--set mongodb.subchart.enabled=false \
377+
--set graylog.config.mongodb.customUri="mongodb[+srv]://<username>:<password>@<hostname>:<port>[,<i-th hostname>:<i-th port>]/<db name>"
376378
```
377379

378380
**Alternatively**, the MongoDB URI can also be provided as part of an externally-managed secret:
379381

380382
```sh
381-
helm upgrade -i graylog ./graylog -n graylog --reuse-values --set mongodb.subchart.enabled=false --set global.existingSecretName="<your secret name>"
383+
helm upgrade --install graylog ./graylog --namespace graylog --reuse-values \
384+
--set mongodb.subchart.enabled=false \
385+
--set global.existingSecretName="<your secret name>"
382386
```
383387

384388
# Uninstall

0 commit comments

Comments
 (0)