Helm "failed to download" chart / repo in CI
Helm tried to pull a chart from a repository and could not. The cause is usually a version that is not in the cached index, an unreachable repo URL, or a stale index that predates the chart version.
What this error means
helm install/pull/dependency fails with "Error: failed to download "bitnami/redis"" or "... (hint: running helm repo update may help)".
helm
Error: failed to download "bitnami/redis" at version "99.0.0"
(hint: running `helm repo update` may help)Common causes
The requested version is not in the cached index
The pinned chart version is newer than the cached index, or does not exist; Helm cannot find it to download.
The repository URL is unreachable
A DNS failure, proxy, or repo outage stops Helm from fetching the chart archive.
How to fix it
Refresh the index and verify the version
- Run
helm repo updateto refresh the cached index. - Confirm the version exists with
helm search repo. - Pin to a version the search lists, then reinstall.
Terminal
helm repo update
helm search repo bitnami/redis --versions | headCheck repo reachability
Confirm the runner can reach the repo URL; if a proxy or firewall blocks it, configure it or vendor the chart.
Terminal
curl -sI https://charts.bitnami.com/bitnami/index.yamlHow to prevent it
- Run
helm repo updatebefore referencing repo charts. - Pin chart versions you have verified exist in the index.
- Vendor or cache charts for repos that are slow or unreliable.
Related guides
Helm "no cached repo found (try helm repo update)" in CIFix Helm "Error: no cached repo found. (try 'helm repo update')" in CI - Helm has no local index for a reposi…
Helm "no repository definition for" dependency in CIFix Helm "Error: no repository definition for <url>. Please add the missing repos via 'helm repo add'" in CI…
Helm "found in Chart.yaml, but missing in charts/ directory" in CIFix Helm "Error: found in Chart.yaml, but missing in charts/ directory" in CI - a declared dependency was nev…