mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-17 12:41:21 -03:30
fix syntax in haproxy.cfg.j2 for IPv6 binding (#12862)
This commit is contained in:
parent
63a43cf6db
commit
82c4c0afdf
@ -32,7 +32,7 @@ frontend healthz
|
||||
frontend kube_api_frontend
|
||||
bind 127.0.0.1:{{ loadbalancer_apiserver_port|default(kube_apiserver_port) }}
|
||||
{% if ipv6_stack -%}
|
||||
bind [::1]:{{ loadbalancer_apiserver_port|default(kube_apiserver_port) }};
|
||||
bind [::1]:{{ loadbalancer_apiserver_port|default(kube_apiserver_port) }}
|
||||
{% endif -%}
|
||||
mode tcp
|
||||
option tcplog
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user