cli/pull: pass TLS config to chart downloader from flags. (#7055)

Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se>
(cherry picked from commit d3ad6f9c78)
pull/7423/head
Andreas Stenius 5 years ago committed by Matt Farina
parent 9e6f3f5ffb
commit 7d006ba8c7
No known key found for this signature in database
GPG Key ID: 9436E80BFBA46909

@ -63,6 +63,7 @@ func (p *Pull) Run(chartRef string) (string, error) {
Getters: getter.All(p.Settings),
Options: []getter.Option{
getter.WithBasicAuth(p.Username, p.Password),
getter.WithTLSClientConfig(p.CertFile, p.KeyFile, p.CaFile),
},
RepositoryConfig: p.Settings.RepositoryConfig,
RepositoryCache: p.Settings.RepositoryCache,

Loading…
Cancel
Save