Update proxy environment for helm controller

Add lowercase no_proxy and all_proxy/ALL_PROXY to environment for helm
This commit is contained in:
Erik Wilson 2019-05-03 11:10:42 -07:00 committed by GitHub
parent d9f958ceeb
commit f7376ad979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {