尝试从GitLab向本地添加自定义Helm repo时出错

尝试从GitLab向本地添加自定义Helm repo时出错,gitlab,kubernetes-helm,Gitlab,Kubernetes Helm,我使用命令创建了一个helm repo:helm create my repo并对templates文件夹中的文件进行了一些小的更改,使用helm package my repo打包了这个文件,这反过来生成了my-repo-0.0.1.tgz,然后生成了helm repo索引。生成index.yaml文件 我在GitLab中创建了一个存储库,并将my-repo-0.0.1.tgz和index.yaml文件推送到GitLab存储库中,我在这里面临的问题是在运行命令时 掌舵回购添加我的回购我看到以下

我使用命令创建了一个helm repo:helm create my repo并对templates文件夹中的文件进行了一些小的更改,使用helm package my repo打包了这个文件,这反过来生成了my-repo-0.0.1.tgz,然后生成了helm repo索引。生成index.yaml文件

我在GitLab中创建了一个存储库,并将my-repo-0.0.1.tgz和index.yaml文件推送到GitLab存储库中,我在这里面临的问题是在运行命令时 掌舵回购添加我的回购我看到以下错误

错误:看起来像“https://gitlab.com/myorg/mycompany/my-helm-repo/-/blob/master“不是有效的图表存储库或无法访问:无法获取:503服务不可用。


你知道这里出了什么问题以及如何解决吗?

使用
raw.githubusercontent.com
添加你的回购协议

helm repo add --username <username> --password '<github token>' <repo-name> 'https://raw.githubusercontent.com/organization-name/helm-repo-name/branch-master/'
helm repo add--username--password''https://raw.githubusercontent.com/organization-name/helm-repo-name/branch-master/'

raw.githubusercontent.com
域用于为存储在GitHub存储库中的未处理版本的文件提供服务。因此,它将返回存储在Github中的文件的原始内容。

我们不使用Github。所以我唯一的选择就是使用GitLab