fix(install): correct append tls config.

Signed-off-by: James McElwain <jmcelwain@gmail.com>
pull/7164/head
James McElwain 5 years ago committed by McElwain, James
parent e9bf446fa8
commit bf5c0ae7f4

@ -183,7 +183,7 @@ func (c *ChartDownloader) ResolveChartVersion(ref, version string) (*url.URL, er
getter.WithURL(rc.URL),
)
if rc.CertFile != "" || rc.KeyFile != "" || rc.CAFile != "" {
getter.WithTLSClientConfig(rc.CertFile, rc.KeyFile, rc.CAFile)
c.Options = append(c.Options, getter.WithTLSClientConfig(rc.CertFile, rc.KeyFile, rc.CAFile))
}
if rc.Username != "" && rc.Password != "" {
c.Options = append(

Loading…
Cancel
Save