fix(cli): Fixes incorrect variable reference

Because these were additions, git didn't pick up that the recent refactor of
env settings had changed some of the variables. This fixes those small changes

Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
pull/6652/head
Taylor Thomas 6 years ago
parent ed90425ebb
commit 1123e5ca1f

@ -95,12 +95,12 @@ func (s *EnvSettings) EnvVars() map[string]string {
"HELM_REGISTRY_CONFIG": s.RegistryConfig,
"HELM_REPOSITORY_CACHE": s.RepositoryCache,
"HELM_REPOSITORY_CONFIG": s.RepositoryConfig,
"HELM_NAMESPACE": s.Namespace,
"HELM_NAMESPACE": s.Namespace(),
"HELM_KUBECONTEXT": s.KubeContext,
}
if s.KubeConfig != "" {
envvars["KUBECONFIG"] = s.KubeConfig
if s.kubeConfig != "" {
envvars["KUBECONFIG"] = s.kubeConfig
}
return envvars

Loading…
Cancel
Save