1
0
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:
galal-hussein
2018-02-07 01:07:09 +02:00
parent ecd9395d21
commit d1247855c9
2 changed files with 2 additions and 2 deletions

View File

@@ -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",