harbor 管理Helm Chart包


官方网站:https://github.com/goharbor/harbor
官方用户手册:https://github.com/goharbor/harbor/blob/master/docs/user_guide.md
官方录制的视频:https://github.com/goharbor/harbor/wiki/Video-demos-for-Harbor


在Harbor在创建一个charts项目,用于存储charts如下:
在Helm Charts标签页下,可以上传我们的chart,注意它需要是使用tar压缩的压缩文件,我试过rar是不可以的。

上传成功之前,即可以看到项目,版本,value信息。

使用如下命令将我们的harbor仓库chart添加到helm repo:
helm repo add  myrepo https://xx.xx.xx.xx/chartrepo/charts
现在就可以安装了。

我们也可以用helm push命令把本地的chart推送到harbor:

添加helm push命令:
helm --help 查看push命令是否已经安装

helm plugin install https://github.com/chartmuseum/helm-push

或者我们可以把stable仓库的chart下载下来,push到我们自己的仓库中:
helm fetch stable/mysql
helm push mysql-0.3.5.tgz myrepo
 

猜你喜欢

转载自www.cnblogs.com/hankuikui/p/10038494.html