helmfile: Confusing error message on chart verification error
I’m facing the following issue. I defined a bunch of external services in my helmfile. Then I tried to sync everything. Doing helm sync I got
Upgrading stable/cert-manager Upgrading gitlab/gitlab-runner Upgrading stable/minio Upgrading stable/prometheus-operator Upgrading stable/chartmuseum Error: failed to download “gitlab/gitlab-runner” (hint: running
helm repo updatemay help)Error: failed to download “stable/prometheus-operator” (hint: running
helm repo updatemay help)Error: failed to download “stable/cert-manager” (hint: running
helm repo updatemay help)Error: failed to download “stable/chartmuseum” (hint: running
helm repo updatemay help)Error: failed to download “stable/minio” (hint: running
helm repo updatemay help)err: release “runner” in “helmfile.yaml” failed: exit status 1 err: release “prom” in “helmfile.yaml” failed: exit status 1 err: release “cert-manager” in “helmfile.yaml” failed: exit status 1 err: release “chartmuseum” in “helmfile.yaml” failed: exit status 1 err: release “s3” in “helmfile.yaml” failed: exit status 1 exit status 1
What it’s all about? In docs it’s stated that helmfile sync updates chart repositories and dependencies under the hood.
Btw, I have another helmfile.yaml located in a different folder, it has a mix of internal (with local charts) and external services. helmfile sync works ok inside this folder.
helmfile version v0.43.2
About this issue
- Original URL
- State: open
- Created 5 years ago
- Comments: 26 (6 by maintainers)
I found it. helmDefaults.verify=true causes the issue. I set it to false and
helmfile syncstarted working.By the way, it seems for some reason -i flag doesn’t work with --log-level=debug. I’ll double check that.
Yes I tried verify. Jt still fails. Another behaviours I see is that. Sometimes it goes thru with one chart and fails with another chart. And it’s random.
@Xtigyro @4c74356b41 On which charts did you start seeing the error? (I doubt if it has something to do with the deprecation of stable and incubator chart repositories