Skip to content

Commit 18b315e

Browse files
docs: update doc
Signed-off-by: Ilya Kheifets <[email protected]>
1 parent 0ae2fd5 commit 18b315e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/microk8s/sc4snmp-installation.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,31 @@ rules:
6767
Configuration above can be found in the `examples` directory in SC4SNMP [GitHub repository](https://github.com/splunk/splunk-connect-for-snmp).
6868
Next run `yamllint -c <path to custom-config.yamllint> <path to values.yaml>` command. Warnings can be ignored.
6969

70+
71+
### Protect Mongo and Redis by password
72+
73+
Update `values.yaml` before deploy:
74+
75+
```
76+
redis:
77+
auth:
78+
enabled: true
79+
password: pass
80+
81+
mongodb:
82+
auth:
83+
enabled: true
84+
rootUser: user
85+
rootPassword: pass
86+
```
87+
88+
If you don't want to provide credentials in `values.yaml` you can provide credentials during deployment using `--set` option:
89+
90+
```
91+
microk8s helm3 install snmp -f values.yaml splunk-connect-for-snmp/splunk-connect-for-snmp --namespace=sc4snmp --create-namespace \
92+
--set redis.auth.enabled=true --set redis.auth.password=pass --set mongodb.auth.enabled=true --set mongodb.auth.rootUser=user --set mongodb.auth.rootPassword=pass
93+
```
94+
7095
#### Install SC4SNMP
7196

7297
After the `values.yaml` creation, you can proceed with the SC4SNMP installation:

0 commit comments

Comments
 (0)