From 217fd65fb50a7f0c32783388cee71666f86e9574 Mon Sep 17 00:00:00 2001 From: Ryan SIU Date: Wed, 28 Aug 2019 13:47:21 +0800 Subject: [PATCH] Fix error in the installation with repo Signed-off-by: Ryan SIU --- pkg/action/install.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg/action/install.go b/pkg/action/install.go index a185667de..1609faafe 100644 --- a/pkg/action/install.go +++ b/pkg/action/install.go @@ -584,9 +584,11 @@ func (c *ChartPathOptions) LocateChart(name string, settings *cli.EnvSettings) ( } dl := downloader.ChartDownloader{ - Out: os.Stdout, - Keyring: c.Keyring, - Getters: getter.All(settings), + Out: os.Stdout, + Keyring: c.Keyring, + Getters: getter.All(settings), + RepositoryConfig: settings.RepositoryConfig, + RepositoryCache: settings.RepositoryCache, Options: []getter.Option{ getter.WithBasicAuth(c.Username, c.Password), },