如何将github私有仓库添加到我的Helm环境中

问题描述 投票:1回答:1

我有一个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原始网址,但错误仍然存​​在。

github kubernetes-helm
1个回答
0
投票

[https://<username>.github.io/reponame看起来像是GitHub page URL,而不是GitHub存储库URL。

© www.soinside.com 2019 - 2024. All rights reserved.