mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-09 14:41:31 +02:00
When bootkube service fails, it can clean up manifests after itself, but it only happens if we give it a chance to shut down cleanly. If boot sequence times out, `machined` does emergency reboot and it doesn't let `bootkube` do the cleanup. So this fix has two paths: * synchronize boot/bootstrap sequence timeouts with bootkube asset timeout; * cleanup bootkube-generated manifests and bootkube service startup. Also logs errors on initial phases like `labelNodeAsMaster` to provide some feedback on why boot is stuck. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>