From b4788481b72a6a9c0c311c084217ede87a9435d5 Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Thu, 5 Sep 2019 10:43:36 -0700 Subject: [PATCH] fix(pkg/cli): do not override users xdg directories Signed-off-by: Adam Reese --- pkg/cli/environment.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/cli/environment.go b/pkg/cli/environment.go index 5f10fbeb0..1b292a47c 100644 --- a/pkg/cli/environment.go +++ b/pkg/cli/environment.go @@ -29,7 +29,6 @@ import ( "github.com/spf13/pflag" "helm.sh/helm/pkg/helmpath" - "helm.sh/helm/pkg/helmpath/xdg" ) // EnvSettings describes all of the environment settings. @@ -106,9 +105,6 @@ func (s *EnvSettings) setHelmEnvVars() { "HELM_REPOSITORY_CONFIG": s.RepositoryConfig, "HELM_REPOSITORY_CACHE": s.RepositoryCache, "HELM_PLUGIN": s.PluginsDirectory, - xdg.CacheHomeEnvVar: helmpath.CachePath(), - xdg.ConfigHomeEnvVar: helmpath.ConfigPath(), - xdg.DataHomeEnvVar: helmpath.DataPath(), } { if eVal := os.Getenv(key); len(eVal) > 0 { val = eVal