We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6296639 commit bcebb14Copy full SHA for bcebb14
controller/handler.go
@@ -61,6 +61,7 @@ func (c *HAProxyController) initHandlers() {
61
62
func (c *HAProxyController) startupHandlers() error {
63
handlers := []UpdateHandler{
64
+ handler.GlobalCfg{},
65
handler.HTTPBind{
66
HTTP: !c.OSArgs.DisableHTTP,
67
HTTPS: !c.OSArgs.DisableHTTPS,
@@ -71,9 +72,6 @@ func (c *HAProxyController) startupHandlers() error {
71
72
IPv4Addr: c.OSArgs.IPV4BindAddr,
73
IPv6Addr: c.OSArgs.IPV6BindAddr,
74
}}
- if c.OSArgs.External {
75
- handlers = append(handlers, handler.GlobalCfg{})
76
- }
77
for _, handler := range handlers {
78
_, err := handler.Update(c.Store, &c.Cfg, c.Client)
79
if err != nil {
0 commit comments