Open Xtigyro opened 4 years ago
@Xtigyro Hey! Thanks - But I think this is possibly an upstream(helm or the official chart) issue.
Does helm fetch --verify stable/metrics-server
work for you? For me it's not:
helm3 fetch --verify stable/metrics-server
Error: failed to fetch provenance "https://kubernetes-charts.storage.googleapis.com/metrics-server-2.10.1.tgz.prov"
fetch --verify stable/metrics-server
Hey @mumoshu - you're absolutely right, man.
~ # helm version
version.BuildInfo{Version:"v3.1.2", GitCommit:"d878d4d45863e42fd5cff6743294a11d28a9abce", GitTreeState:"clean", GoVersion:"go1.13.8"}
~ # helm fetch --verify stable/metrics-server
Error: failed to fetch provenance "https://kubernetes-charts.storage.googleapis.com/metrics-server-2.10.1.tgz.prov"
Is it worth ignoring that when we have force: true
?
Not sure if we should change the meaning of force
. You can set force: false
in your release so that it disables the verification today.
You can set
force: false
in your release so that it disables the verification today.
Sry I had a typo in the above. I meant verify: false
.
You can set
force: false
in your release so that it disables the verification today.Sry I had a typo in the above. I meant
verify: false
.
No worries - I understood you. Thanks!
I have similar problems. I have helmfile with stable
, incubator
etc repos. I removed repos using helm repo remove <repo>
and now have empty list. When I run helmfile repos
, nothing happens. When I run helmfile deps
I see only these errors:
There are no repositories defined in your helmfile.yaml.
This means helmfile cannot update your dependencies or create a lock file.
See https://github.com/roboll/helmfile/issues/878 for more information.
What can be the reason here? I can manually do helm repo add ...
but I want it to be automatically by Helmfile. Something is broken here.
UPDATE: Okay, nevermind, I managed to understand and fix the issue. The problem was that EVERY helmfile
should have repositories
inside. And we had repositories only in MAIN helmfile
which was referencing other helmfiles
. And the same should be applied for environments etc
When Helm v3 is used, having
verify: true
errors out helmfile with, e.g.: