Skip to content

Commit

Permalink
fix(rancher-common): Helm error, could not download chart
Browse files Browse the repository at this point in the history
Workaround for:

Error: could not download chart: no cached repo found. (try 'helm repo update')

Refs: hashicorp/terraform-provider-helm#630
  • Loading branch information
wombelix committed Oct 12, 2024
1 parent 11ad74a commit 3fa823c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rancher/rancher-common/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ provider "helm" {
kubernetes {
config_path = local_file.kube_config_server_yaml.filename
}
repository_config_path = "${path.module}/.helm/repositories.yaml"
repository_cache = "${path.module}/.helm"
}

# Rancher2 bootstrapping provider
Expand Down

0 comments on commit 3fa823c

Please sign in to comment.