将自制的charts上传到harbor
(1)harbor中创建项目
我这里创建了一个charts项目。
(2)在运行helm的机器上,添加helm repo
helm repo add pri-repo http://10.10.13.205:5001/chartrepo/charts
pri-repo:repo名称
http://10.10.13.205:5001/chartrepo/charts:仓库地址,chartrepo是指charts这个项目的chartrepo路径。chartrepo是harbor的默认地址,当常量理解即可。
具体添加效果如下:
[root@infra charts]# helm repo add pri-repo http://10.10.13.205:5001/chartrepo/charts
<