fix(install): correct append tls config.

Signed-off-by: James McElwain <jmcelwain@gmail.com>
Signed-off-by: Matheus Hunsche <matheus.hunsche@ifood.com.br>
pull/8840/head
James McElwain 6 years ago committed by Matheus Hunsche
parent eec6e9f115
commit a2c7cacd28

@ -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