From e8deeb26225170a814170e7e21f8eae9a12f2d2e Mon Sep 17 00:00:00 2001 From: Andre Krueger <32708635+1337andre@users.noreply.github.com> Date: Fri, 22 Mar 2019 00:51:04 +0100 Subject: [PATCH] Honor os environment variables for helm commands (#1306) --- util/helm/helm.go | 1 + 1 file changed, 1 insertion(+) diff --git a/util/helm/helm.go b/util/helm/helm.go index caecf465f0d3c..292d1f4dd4033 100644 --- a/util/helm/helm.go +++ b/util/helm/helm.go @@ -191,6 +191,7 @@ func (h *helm) helmCmd(args ...string) (string, error) { func (h *helm) helmCmdExt(args []string, logFormat func(string) string) (string, error) { cmd := exec.Command("helm", args...) + cmd.Env = os.Environ() cmd.Dir = h.path if h.home != "" { cmd.Env = append(cmd.Env, fmt.Sprintf("HELM_HOME=%s", h.home))