添加源
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
helm install -n prod mymongodb mongodb-sharded --values ./mongodb-sharded/values.yaml \
--set security.enabled=true \
--set "security.authentication.saslMechanisms[1]"="SCRAM-SHA-1"
 
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"]
 
我的设置

目前还是最新版

 客户端连接时
 


















![[计算机网络实验]头歌 实验二 以太网帧、IP报文分析(含部分分析)](https://img-blog.csdnimg.cn/4a40c35e26b04992b33bf02651dd6a79.png)
