не является допустимым репозиторием диаграмм или недоступен: Не удалось получить https://kubernetes-charts.storage.googleapis.com/index.yaml : 403 Запрещено
helm init сегодня начал давать сбой, мы используем версию helm HELM_VERSION: v2.13.0
в нашем CI/CD.
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
Хотя день назад все работало нормально. Вот логи, которые я получил при выполнении команды 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
Есть похожие вопросы вопрос , но это кажется другим, а также я не состою за прокси, как упоминалось здесь.
С 13 ноября 2020 года новое местоположение репозитория stable
— https://charts.helm.sh/stable , а новое местоположение репозитория incubator
— https://charts.helm.sh/incubator..
Пытаться:
helm init --stable-repo-url=https://charts.helm.sh/stable --client-only
или
$ helm repo add stable https://charts.helm.sh/stable
$ helm repo update
однако установщик helm по-прежнему поставляется со старыми URL-адресами репо.
Это исправило это для меня:
helm repo add "stable" "https://charts.helm.sh/stable" --force-update
спасибо, позвольте мне обновить ваш ответ. Я должен указать стабильное репо в команде инициализации
init --stable-repo-url=https://charts.helm.sh/stable
.