Update proxy environment for helm controller

Add lowercase no_proxy and all_proxy/ALL_PROXY to environment for helm
pull/434/head
Erik Wilson 6 years ago committed by GitHub
parent d9f958ceeb
commit f7376ad979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save