From 3d4e8bc1803fc4507acbeff7c26adc2e2dd8afe6 Mon Sep 17 00:00:00 2001 From: Fabian Ruff Date: Thu, 13 Jul 2017 13:43:48 +0200 Subject: [PATCH] remove plugin dependency on tiller/environment --- pkg/plugin/plugin.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/plugin/plugin.go b/pkg/plugin/plugin.go index 75d808701..d0f39bdaa 100644 --- a/pkg/plugin/plugin.go +++ b/pkg/plugin/plugin.go @@ -22,7 +22,6 @@ import ( "strings" helm_env "k8s.io/helm/pkg/helm/environment" - tiller_env "k8s.io/helm/pkg/tiller/environment" "github.com/ghodss/yaml" ) @@ -189,8 +188,8 @@ func SetupPluginEnv(settings helm_env.EnvSettings, "HELM_PATH_LOCAL_REPOSITORY": settings.Home.LocalRepository(), "HELM_PATH_STARTER": settings.Home.Starters(), - "TILLER_HOST": settings.TillerHost, - tiller_env.TillerNamespaceEnvVar: settings.TillerNamespace, + "TILLER_HOST": settings.TillerHost, + "TILLER_NAMESPACE": settings.TillerNamespace, } { os.Setenv(key, val) }