mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-06 05:01:19 +02:00
Introduce a new resource, `SiderolinkConfig`, to store SideroLink connection configuration (api endpoint for now). Introduce a controller for this resource which populates it from the Kernel cmdline. Rework the SideroLink `ManagerController` to take this new resource as input and reconfigure the link on changes. Additionally, if the siderolink connection is lost, reconnect to it and reconfigure the links/addresses. Closes siderolabs/talos#7142, siderolabs/talos#7143. Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>