添加

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"]
我的设置

在这里插入图片描述

目前还是最新版

在这里插入图片描述
客户端连接
在这里插入图片描述

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注