kubespray/roles/network_plugin/calico
Arthur Outhenin-Chalandre 82f68ca395
calico: cilium: use localhost lb by default on kube-proxy replacement (#9718)
This commit removes the variable `use_localhost_as_kubeapi_loadbalancer`
and rather detects that we are in a situation where we can use the
localhost apiserver loadbalancer (meaning that we use the localhost load
balancer and that the same ports are used for both the load balancer and
the kube-apiserver).

This also cleanups the calico code to use `kube_apiserver_global_endpoint`
rather than implementing the same logic all over again.

Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
2023-03-07 04:28:36 -08:00
..
defaults feat(calico): add possibility to enable calico floatingIPs feature (#9680) 2023-01-18 15:42:34 -08:00
files Add subjectAltName to calico-apiserver certificate (#8907) 2022-06-06 07:38:23 -07:00
handlers Add kube-ipvs0/nodelocaldns to NetworkManager unmanaged-devices (#7315) 2021-03-03 07:27:20 -08:00
rr Fix typos in calico (#9327) 2022-09-26 00:11:44 -07:00
tasks feat(calico): add possibility to enable calico floatingIPs feature (#9680) 2023-01-18 15:42:34 -08:00
templates calico: cilium: use localhost lb by default on kube-proxy replacement (#9718) 2023-03-07 04:28:36 -08:00
vars Calico: add wireguard support for Rocky Linux 9 (#9287) 2022-09-20 00:29:20 -07:00