mirror of
https://github.com/helm/helm.git
synced 2026-08-04 15:10:47 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user