Merge pull request #10762 from yxxhero/fix_registry_config_issue

fix --registry-config issue
pull/10960/head
Matthew Fisher 2 years ago committed by GitHub
commit 2ae4937e42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -712,6 +712,10 @@ func (c *ChartPathOptions) LocateChart(name string, settings *cli.EnvSettings) (
RegistryClient: c.registryClient,
}
if registry.IsOCI(name) {
dl.Options = append(dl.Options, getter.WithRegistryClient(c.registryClient))
}
if c.Verify {
dl.Verify = downloader.VerifyAlways
}

Loading…
Cancel
Save