Commit d84b707d authored by xuhaigang's avatar xuhaigang

fix(helm): Fix the bug in helm dependency update -verify

Helm dependency update --verify should fail when verification fails.

Closes #2717
parent 3cf8f2c8
......@@ -96,7 +96,7 @@ func (d *dependencyUpdateCmd) run() error {
Getters: getter.All(settings),
}
if d.verify {
man.Verify = downloader.VerifyIfPossible
man.Verify = downloader.VerifyAlways
}
if settings.Debug {
man.Debug = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment