File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,31 @@ rules:
6767Configuration above can be found in the ` examples` directory in SC4SNMP [GitHub repository](https://github.com/splunk/splunk-connect-for-snmp).
6868Next 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
7297After the `values.yaml` creation, you can proceed with the SC4SNMP installation :
You can’t perform that action at this time.
0 commit comments