Skip to content

Commit a1243cd

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

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/microk8s/sc4snmp-installation.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,33 @@ 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 \
92+
--namespace=sc4snmp --create-namespace \
93+
--set redis.auth.enabled=true --set redis.auth.password=pass \
94+
--set mongodb.auth.enabled=true --set mongodb.auth.rootUser=user --set mongodb.auth.rootPassword=pass
95+
```
96+
7097
#### Install SC4SNMP
7198

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

0 commit comments

Comments
 (0)