不是有效的图表存储库或无法访问:无法获取https://kubernetes-charts.storage.googleapis.com/index.yaml : 403 Forbidden
helm init 今天开始失败,我们HELM_VERSION: v2.13.0
在 CI/CD中使用 helm 版本。
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Error: Looks like "https://kubernetes-charts.storage.googleapis.com"
is not a valid chart repository or cannot be reached:
Failed to fetch https://kubernetes-charts.storage.googleapis.com/index.yaml : 403 Forbidden
Run Code Online (Sandbox Code Playgroud)
虽然一天前它工作正常。这是我在运行init
命令时收到的日志。
$ helm init --client-only
Creating /root/.helm
Creating /root/.helm/repository
Creating /root/.helm/repository/cache
Creating /root/.helm/repository/local
Creating /root/.helm/plugins
Creating /root/.helm/starters
Creating /root/.helm/cache/archive
Creating /root/.helm/repository/repositories.yaml
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Error: Looks like "https://kubernetes-charts.storage.googleapis.com" is not a valid chart repository or cannot be reached: Failed to fetch https://kubernetes-charts.storage.googleapis.com/index.yaml : 403 Forbidden
Run Code Online (Sandbox Code Playgroud)
Kam*_*san 50
自2020年起11月13日,在新的位置stable
信息库是https://charts.helm.sh/stable并为新的位置incubator
信息库是https://charts.helm.sh/incubator。
尝试:
helm init --stable-repo-url=https://charts.helm.sh/stable --client-only
Run Code Online (Sandbox Code Playgroud)
或者
$ helm repo add stable https://charts.helm.sh/stable
$ helm repo update
Run Code Online (Sandbox Code Playgroud)
姓名 | 旧址 | 新地点 |
---|---|---|
稳定的 | https://kubernetes-charts.storage.googleapis.com | https://charts.helm.sh/stable |
孵化器 | https://kubernetes-charts-incubator.storage.googleapis.com | https://charts.helm.sh/incubator |
小智 7
这为我解决了这个问题:
helm repo add "stable" "https://charts.helm.sh/stable" --force-update
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
15854 次 |
最近记录: |