Update states/haproxy/templates/haproxy.cfg.j2
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
081cf029c5
commit
42049f3da3
@ -298,6 +298,8 @@ backend {{ name }} from {{ haproxy.config.namespace }}
|
|||||||
{{ compression() }}
|
{{ compression() }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
default-server weight 100 inter 1s fall 5
|
||||||
|
|
||||||
{%- if values.internal|default(False) %}
|
{%- if values.internal|default(False) %}
|
||||||
{{ internal() }}
|
{{ internal() }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
@ -322,7 +324,7 @@ listen {{ name }} from {{ haproxy.config.namespace }}
|
|||||||
timeout server 1s
|
timeout server 1s
|
||||||
option spop-check
|
option spop-check
|
||||||
{%- endif %}
|
{%- 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)) }}
|
{{- tcpendpoints(servers=values.servers|default([]), check=values.check|default(haproxy.config.check)) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user