mirror of
https://github.com/siderolabs/talos.git
synced 2026-04-12 09:11:08 +02:00
This commit changes the way kubespan gets the podCIDR to advertise when `advertiseKubernetesNetworks` is enabled. Before, it used the interface address, but some CNIs (such as Cilium in NativeRouting) only set a single /32 IP to a single interface (`cilium_host` in cilium's case). This adds the `v1.Node`'s `.spec.podCIDRs` array to the `k8s.NodeStatus` object and uses this to advertise the kubernetes network. Signed-off-by: Florian Ströger <stroeger@youniqx.com> Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>