From 186f6c512f4c4dba817ce01c932ec7a01b917d97 Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Fri, 2 Aug 2019 13:42:21 -0700 Subject: [PATCH] fix(plugin): add HELM_HOME back This allows Helm 2 plugins that used HELM_HOME as a scratchpad to continue to work the same in Helm 3. Signed-off-by: Matthew Fisher --- pkg/plugin/plugin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/plugin/plugin.go b/pkg/plugin/plugin.go index ce5c92fef..76f9f461e 100644 --- a/pkg/plugin/plugin.go +++ b/pkg/plugin/plugin.go @@ -230,6 +230,7 @@ func SetupPluginEnv(settings helm_env.EnvSettings, "HELM_PATH_CACHE": helmpath.CachePath(), "HELM_PATH_CONFIG": helmpath.ConfigPath(), "HELM_PATH_DATA": helmpath.DataPath(), + "HELM_HOME": helmpath.DataPath(), // for backwards compatibility with Helm 2 plugins } { os.Setenv(key, val) }