terraform-provider-helm: v0.10.5 is failing due to stable repo move
Terraform, Provider, Kubernetes and Helm Versions
Terraform version: 0.13.05
Provider version: 0.10.5
Kubernetes version: 1.15.2
Helm version: 2.16.8
Affected Resource(s)
- the helm provider on version 0.10.5 has a hardcoded repository to https://kubernetes-charts.storage.googleapis.com/index.yaml. This repo does not resolve anymore so this breaks at the time of loading the provider. Please release a new version with the repository updated to the new stable: https://charts.helm.sh/stable
Error: error initializing local helm home: 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
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 46
- Comments: 15 (6 by maintainers)
Commits related to this issue
- Update stableRepositoryURL due to deprecation. Fixes #649 — committed to hashicorp/terraform-provider-helm by aareet 4 years ago
- Change default url for stable_repo_url The old repo url does not resolve causing build failures. Changing default value https://github.com/hashicorp/terraform-provider-helm/issues/649 — committed to prateekbaheti-ms/drone-helm by prateekbaheti-ms 4 years ago
- Fix helm stable repo This is a fix for a helm error that started today when building apps: ``` Initializing helm... Error: Looks like "https://kubernetes-charts.storage.googleapis.com" is not ... — committed to ministryofjustice/analytics-platform-concourse-github-org-resource by davidread 4 years ago
- Change default value of helm to 2.1.1 Change the default value of stable_repo_url since the old one is invalid now. Changes in the original repo have not been made yet https://github.com/hashicorp/t... — committed to moneysmartco/drone-helm by prateekbaheti-ms 4 years ago
- Update Helm v2 stable chart repository URL Since helm v2.17.0 the stable chart repositories were moved to a new URL, and since a few weeks ago the old repository is no longer available which is causi... — committed to elyalvarado/kubergrunt by elyalvarado 3 years ago
I am cutting a release for v0.10.6 now @savvys.
Looks like the old URL is hard-coded into the 0.10.5 version of the provider here: https://github.com/hashicorp/terraform-provider-helm/blob/v0.10.5/helm/provider.go#L452
Based on their blog post it sounds like the stable repo is deprecated and will eventually be garbage collected, but they’re going to keep what’s there around as an archive.
I’m going to cut a hotfix release to change the URL in the old provider so folks stuck maintaining legacy aren’t left hanging, but after this please upgrade to the latest provider version! You’ll have to fork this repo to keep supporting this if you don’t.
I’m seeing this error using helm v3.3.3 also.
@sergio-dreamcode you’ll need to wait until it appears here: https://releases.hashicorp.com/terraform-provider-helm/0.10.6/ (which it has now)
No problem @dfry thanks for contributing. Good luck with your upgrades! 🤠🔧
@sergio-dreamcode There is a release pipeline that happens after the merge that builds all the appropriate binaries and uploads them to a CDN. I was just able to pull it down so it should be available now – sometimes it can take a few minutes to roll out so try again in a few.
@aareet For me, the error comes before any repos exist. I run terraform in a docker container, so its fresh everytime. There are no repos to update with
helm repo update