From bf5c0ae7f46dce9f44633e0d7e87b933c375bf5a Mon Sep 17 00:00:00 2001 From: James McElwain Date: Mon, 9 Mar 2020 18:36:42 -0700 Subject: [PATCH] fix(install): correct append tls config. Signed-off-by: James McElwain --- pkg/downloader/chart_downloader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/downloader/chart_downloader.go b/pkg/downloader/chart_downloader.go index 039661de4..340a65472 100644 --- a/pkg/downloader/chart_downloader.go +++ b/pkg/downloader/chart_downloader.go @@ -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(