mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 23:16:22 +00:00
Fix rolling upgrade issue for nginx proxy
This commit is contained in:
@@ -40,6 +40,7 @@ func buildNginxProxyConfig(host *hosts.Host, nginxProxyEnv, nginxProxyImage stri
|
||||
imageCfg := &container.Config{
|
||||
Image: nginxProxyImage,
|
||||
Env: []string{fmt.Sprintf("%s=%s", NginxProxyEnvName, nginxProxyEnv)},
|
||||
Cmd: []string{fmt.Sprintf("%s=%s", NginxProxyEnvName, nginxProxyEnv)},
|
||||
}
|
||||
hostCfg := &container.HostConfig{
|
||||
NetworkMode: "host",
|
||||
|
Reference in New Issue
Block a user