标签:top ror chart file 用户 osi 上传 没有 rbo
harbor配置helm chart仓库2、helm 需要安装插件并添加源,需要harbor登陆用户密码
helm plugin install https://github.com/chartmuseum/helm-push
helm repo add course https://harbor.wehgc.com:10443/chartrepo/library --username=admin --password=GJ9JwGl0jL
3、上传
helm push polling-helm course
PS:如果出现以下错误提示:
Error: couldn‘t load repositories file (/root/.config/helm/repositories.yaml): open /root/.config/helm/repositories.yaml: no such file or directory
解决方法:则拷贝相应的文件到目录
mkdir /root/.config/helm && cp .helm/repository/repositories.yaml /root/.config/helm/repositories.yaml
错误提示:
cp: 无法创建普通文件"/root/.cache/helm/repository/course-index.yaml": 没有那个文件或目录
解决方法:
mkdir /root/.cache/helm/repository -p && cp .helm/repository/cache/course-index.yaml /root/.cache/helm/repository/course-index.yaml
标签:top ror chart file 用户 osi 上传 没有 rbo
原文地址:https://blog.51cto.com/riverxyz/2475617