fix(cilium): k3s has an API server proxy at 127.0.0.1:6444 (#442)

There is no need to use kube-vip LB
This commit is contained in:
Devin Buhl 2024-02-04 23:35:51 -05:00 committed by GitHub
parent ea3b3c776a
commit 1fb10faf7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -170,8 +170,8 @@
{% if cilium_mode == "native" or (cilium_bgp and cilium_exportPodCIDR != 'false') %} {% if cilium_mode == "native" or (cilium_bgp and cilium_exportPodCIDR != 'false') %}
--helm-set ipv4NativeRoutingCIDR={{ cluster_cidr }} --helm-set ipv4NativeRoutingCIDR={{ cluster_cidr }}
{% endif %} {% endif %}
--helm-set k8sServiceHost={{ apiserver_endpoint }} --helm-set k8sServiceHost="127.0.0.1"
--helm-set k8sServicePort="6443" --helm-set k8sServicePort="6444"
--helm-set routingMode={{ cilium_mode | default("native") }} --helm-set routingMode={{ cilium_mode | default("native") }}
--helm-set autoDirectNodeRoutes={{ "true" if cilium_mode == "native" else "false" }} --helm-set autoDirectNodeRoutes={{ "true" if cilium_mode == "native" else "false" }}
--helm-set kubeProxyReplacement={{ kube_proxy_replacement | default("true") }} --helm-set kubeProxyReplacement={{ kube_proxy_replacement | default("true") }}