mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Update proxy environment for helm controller
Add lowercase no_proxy and all_proxy/ALL_PROXY to environment for helm
This commit is contained in:
parent
d9f958ceeb
commit
f7376ad979
@ -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…
Reference in New Issue
Block a user