Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add mgmt endpoint & cli command for infra machine reboot
Introduce a new mgmt endpoint to reboot an infra machine and wait for the reboot request to be processed by the respective infra provider. It does the heavy lifting of modifying/waiting for the resources. Additionally: - In the `InfraMachineController`, to verify that the machine info was collected before powering it off, check the `TalosVersion` on the `MachineStatus` instead of `SecureBootStatus`. It is a more suitable field to check this. - Rename the infra provider label prefix format from being `omni.sidero.dev/infra-provider[provider-id]/key=value` to be `omni.sidero.dev/infra-provider/provider-id/key=value`. Signed-off-by: Utku Ozdemir <[email protected]>
- Loading branch information