forked from openshift/cluster-api-provider-baremetal
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove machine finalizer from host when deleting machine
When a Machine is deleted, any host it was using should have all associations with Machines removed. We were removing the explicit links to the machine, but not the finalizer that the machine controller added. This change removes the finalizer so that hosts that are no longer being consumed by a machine can be deleted. Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
- Loading branch information
Showing
2 changed files
with
82 additions
and
22 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
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