docker harbor 保存chart.tgz 包
heml version: helm3
harbor 需要装插件。
helm 需要安装helml-push 插件 helm plugin install https://github.com/chartmuseum/helm-push.git 或者 wget https://github.com/chartmuseum/helm-push/releases/download/v0.9.0/helm-push_0.9.0_linux_amd64.tar.gz && mkdir helm-push && tar xf helm-push_0.9.0_linux_amd64.tar.gz -C helm-push && helm plugin install helm-push 或者 mkdir -p ~/.local/share/helm/plugins && mv helm-push /root/.local/share/helm/plugins/
helm repo add library https://harbor/ring.com/chartrepo/library --username=name --password=password (注意用户)
helm push mysql-0.3.5.tgz library
curl -u rice:Ricemap123 -o /tmp/jenkins/mysql-0.3.5.tgz https://username:password@harbor.ring.com/chartrepo/library/charts/mysql-0.3.5.tgz
posted on 2021-02-23 21:43 __director 阅读(159) 评论(0) 编辑 收藏 举报