forked from metal3-io/cluster-api-provider-baremetal
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete machine when reboot remediation fails
Metal3 sets a specific condition in this case, which is evaluated by CAPI. In OCP we don't have this, so delete the machine directly (similar to the annotation based remediation in the machine actuator) Signed-off-by: Marc Sluiter <msluiter@redhat.com>
- Loading branch information
Showing
4 changed files
with
78 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 29 additions & 14 deletions
43
pkg/baremetal/mocks/zz_generated.metal3remediation_manager.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters