mirror of
https://github.com/rancher/rke.git
synced 2025-08-31 14:36:32 +00:00
Ensure nginx proxy is upgradable if control hosts change
This commit is contained in:
committed by
Darren Shepherd
parent
fa9c2e076e
commit
e5c2c86b65
@@ -438,9 +438,11 @@ func (c *Cluster) BuildProxyProcess() v3.Process {
|
||||
|
||||
registryAuthConfig, _, _ := docker.GetImageRegistryConfig(c.SystemImages.NginxProxy, c.PrivateRegistriesMap)
|
||||
return v3.Process{
|
||||
Name: services.NginxProxyContainerName,
|
||||
Env: Env,
|
||||
Args: []string{"nginx-proxy"},
|
||||
Name: services.NginxProxyContainerName,
|
||||
Env: Env,
|
||||
// we do this to force container update when CP hosts change.
|
||||
Args: Env,
|
||||
Command: []string{"nginx-proxy"},
|
||||
NetworkMode: "host",
|
||||
RestartPolicy: "always",
|
||||
HealthCheck: v3.HealthCheck{},
|
||||
|
Reference in New Issue
Block a user