添加源
helm repo add bitnami https://charts.bitnami.com/bitnami
指定版本拉取
helm pull --repo https://charts.bitnami.com/bitnami mongodb-sharded --version 7.0.5
安装时选择SCRAM-SHA-1默认是SCRAM-SHA-256
js
helm install -n prod mymongodb mongodb-sharded --values ./mongodb-sharded/values.yaml \
--set security.enabled=true \
--set "security.authentication.saslMechanisms[1]"="SCRAM-SHA-1"
js
helm install -n prod mymongodb mongodb-sharded --values ./mongodb-sharded/values.yaml \
--set security.enabled=true \
--set security.authentication.saslMechanisms=["SCRAM-SHA-256","SCRAM-SHA-1=false"]
我的设置
目前还是最新版
客户端连接时