Helm3 使用 Nexus 作为 charts 仓库
原创
©著作权归作者所有:来自51CTO博客作者Tom马的原创作品,请联系作者获取转载授权,否则将追究法律责任
1、添加仓库

2、设置

3、添加仓库
# 非匿名访问
helm repo add nexus http://admin:admin123@192.168.2.107:8081/repository/helm-repo/
# 如果开启匿名访问方式:不需要输入 管理和密码
helm repo add nexus http://192.168.2.107:8081/repository/helm-repo/
# 查看,已成功添加
[root@jenkins ~]# helm repo list
NAME URL
harbor https://harbor.mshxuyi.com/chartrepo/library
nexus http://192.168.2.107:8081/repository/helm-repo/
4、打包
# 创建一个 charts
helm create myapp
# 打包
helm package myapp
5、安装上传插件
helm plugin install --version master https://gitee.com/mirrors_sonatype-nexus-community/helm-nexus-push.git
6、上传
helm nexus-push nexus myapp-0.1.0.tgz -u admin -p admin123
7、查看,已成功上传
