Please add stats auth {{__haproxy_username}}:{{__haproxy_password}} in the section "frontend http_stats" (and the necessary vars in the var file), because everyone who know and has access to the HAProxy stat page can put servers into maintenance mode or drain traffic from them wihtout authentication.
Please add
stats auth {{__haproxy_username}}:{{__haproxy_password}}
in the section "frontend http_stats" (and the necessary vars in the var file), because everyone who know and has access to the HAProxy stat page can put servers into maintenance mode or drain traffic from them wihtout authentication.https://github.com/HCL-TECH-SOFTWARE/connections-automation/blob/9eb050fdad217266a0fed3e2e35ebaf9f0b20d62/roles/third_party/haproxy-install/templates/haproxy.cfg.j2#L28-L31
more information Exploring the HAProxy Stats Page (What You Should Know)