Add baremetal node deprovisioning confirm #1849
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
needs-triage
Indicates an issue lacks a `triage/foo` label and requires one.
triage/needs-information
Indicates an issue needs more information in order to work on it.
User Story
As a [developer/user/operator] I would like to [high level description] for [reasons]
If an operator accidentally reduces the replicas of a machine deployment, many nodes will be deprovisioned at once.
Detailed Description
[A clear and concise description of what you want to happen.]
CAPM3 is a special controller because it controls baremetal nodes.
If the machine is deleted due to a user's mistake, CAPM3 modifies the resources of the bmh and deprovisions the baremetal node.
At this time, it would be good to have a branch that checks whether to remove the dperovisioning image field by checking the value of bmh metadata.label.remove=true by checking an environment variable such as CAPM3_AUTO_REMOVE=true.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
/kind feature
The text was updated successfully, but these errors were encountered: