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)

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

Most upvoted comments

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