我有一个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帐户的凭据也可用于公共仓库我也尝试过使用https://raw.githubusercontent.com/username/reponame/branch原始网址,但错误仍然存在。
[https://<username>.github.io/reponame
看起来像是GitHub page URL,而不是GitHub存储库URL。