From 5d668e6a4f27db0def5bca581b27aed069deb640 Mon Sep 17 00:00:00 2001 From: Emanuel Bennici Date: Tue, 19 Nov 2019 18:24:06 +0100 Subject: [PATCH] Add Repository Settings to Search Options Signed-off-by: Emanuel Bennici --- cmd/helm/outdated.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/cmd/helm/outdated.go b/cmd/helm/outdated.go index 35fe17822..5c8d43c7a 100644 --- a/cmd/helm/outdated.go +++ b/cmd/helm/outdated.go @@ -93,11 +93,13 @@ func newOutdatedListWriter(releases []*release.Release, cfg *action.Configuratio // we initialize the Struct with default Options but the 'devel' option // can be set by the User, all the other ones are not relevant. searchRepo := searchRepoOptions{ - versions: false, - regexp: false, - devel: devel, - maxColWidth: 50, - version: "", + versions: false, + regexp: false, + devel: devel, + maxColWidth: 50, + version: "", + repoFile: settings.RepositoryConfig, + repoCacheDir: settings.RepositoryCache, } // initialize Repo index first