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 <matt.fisher@microsoft.com>
pull/5443/head
Matthew Fisher 6 years ago
parent c728611e5a
commit 186f6c512f
No known key found for this signature in database
GPG Key ID: 92AA783CBAAE8E3B

@ -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)
}

Loading…
Cancel
Save