Update states/haproxy/templates/haproxy.cfg.j2
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-04-02 20:12:53 +02:00
parent 081cf029c5
commit 42049f3da3

View File

@ -298,6 +298,8 @@ backend {{ name }} from {{ haproxy.config.namespace }}
{{ compression() }}
{%- endif %}
default-server weight 100 inter 1s fall 5
{%- if values.internal|default(False) %}
{{ internal() }}
{%- endif %}
@ -322,7 +324,7 @@ listen {{ name }} from {{ haproxy.config.namespace }}
timeout server 1s
option spop-check
{%- endif %}
default-server inter 1s fall 5
default-server weight 100 inter 1s fall 5
{{- tcpendpoints(servers=values.servers|default([]), check=values.check|default(haproxy.config.check)) }}
{% endfor %}