I am managing my k8s cluster using terraform and has tiller version 0.10.4,
Now I made some changes in my terraform file. so when I run terraform init I am getting following 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
So I change the stable url in my terraform file, and now it looks something like
data "helm_repository" "stable" {
name = "stable"
url = "https://charts.helm.sh/stable"
}
provider "kubernetes" {
config_path = "kubeconfig.yaml"
}
provider "helm" {
install_tiller = true
version = "0.10.4"
service_account = "tiller"
namespace = "kube-system"
kubernetes {
config_path = "kubeconfig.yaml"
}
}
But I am still getting the same error.
The old Google based Chart storage system has been decommissioned. But also Helm 2 is no longer supported at all and Helm 3 does not use Tiller. You can find a static mirror of the old charts repo on Github if you go poking, but you need to upgrade to Helm 3 anyway so just do that instead.