mirror of
https://github.com/helm/helm.git
synced 2026-04-23 07:07:30 -04:00
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>
This commit is contained in:
parent
ed90425ebb
commit
1123e5ca1f
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Reference in a new issue