From f7376ad979b23996e3a79c0e3d42a04dd6e9f349 Mon Sep 17 00:00:00 2001 From: Erik Wilson Date: Fri, 3 May 2019 11:10:42 -0700 Subject: [PATCH] Update proxy environment for helm controller Add lowercase no_proxy and all_proxy/ALL_PROXY to environment for helm --- pkg/helm/controller.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/helm/controller.go b/pkg/helm/controller.go index dc7c60420e..c30384f66b 100644 --- a/pkg/helm/controller.go +++ b/pkg/helm/controller.go @@ -321,10 +321,13 @@ func keys(val map[string]intstr.IntOrString) []string { func setProxyEnv(job *batch.Job) { proxySysEnv := []string{ + "all_proxy", + "ALL_PROXY", "http_proxy", - "https_proxy", "HTTP_PROXY", + "https_proxy", "HTTPS_PROXY", + "no_proxy", "NO_PROXY", } for _, proxyEnv := range proxySysEnv {