1
0
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:
moelsayed
2018-04-22 22:55:34 +02:00
committed by Darren Shepherd
parent fa9c2e076e
commit e5c2c86b65

View File

@@ -440,7 +440,9 @@ func (c *Cluster) BuildProxyProcess() v3.Process {
return v3.Process{
Name: services.NginxProxyContainerName,
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",
RestartPolicy: "always",
HealthCheck: v3.HealthCheck{},