【发布时间】:2020-04-22 13:57:00
【问题描述】:
我有一个 github 私人仓库(包含有效的 index.yaml 文件),我想在不使用 github token 的情况下将它添加到我的本地 helm 环境中,但我可以使用我的 gihub凭据。我尝试过类似
helm repo add <reponame> --username <username> --password xxxx https://<username>.github.io/reponame
错误信息
错误:看起来“https://username.github.io/reponame”不是 有效的图表存储库或无法访问:无法获取 https://username.github.io/reponame/index.yaml:404 未找到
但即使没有传递我的 github 帐户的凭据,上述命令也可以与公共 repo 一起使用 我也尝试过使用https://raw.githubusercontent.com/username/reponame/branch 原始网址,但错误仍然存在。
【问题讨论】: