mirror of
https://github.com/rancher/rke.git
synced 2025-09-05 17:00:20 +00:00
Ensure nginx proxy is upgradable if control hosts change
This commit is contained in:
committed by
Darren Shepherd
parent
fa9c2e076e
commit
e5c2c86b65
@@ -440,7 +440,9 @@ func (c *Cluster) BuildProxyProcess() v3.Process {
|
|||||||
return v3.Process{
|
return v3.Process{
|
||||||
Name: services.NginxProxyContainerName,
|
Name: services.NginxProxyContainerName,
|
||||||
Env: Env,
|
Env: Env,
|
||||||
Args: []string{"nginx-proxy"},
|
// we do this to force container update when CP hosts change.
|
||||||
|
Args: Env,
|
||||||
|
Command: []string{"nginx-proxy"},
|
||||||
NetworkMode: "host",
|
NetworkMode: "host",
|
||||||
RestartPolicy: "always",
|
RestartPolicy: "always",
|
||||||
HealthCheck: v3.HealthCheck{},
|
HealthCheck: v3.HealthCheck{},
|
||||||
|
Reference in New Issue
Block a user