Helm3 使用 Nexus 作为 charts 仓库

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、查看,已成功上传

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值