-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug 1752088: UPSTREAM: <carry>: openshift: Drop isDeleteAllowed func #72
Bug 1752088: UPSTREAM: <carry>: openshift: Drop isDeleteAllowed func #72
Conversation
@enxebre: This pull request references Bugzilla bug 1752088, which is valid. The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
return true | ||
} | ||
|
||
if machine.Status.NodeRef.Name != r.nodeName { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need the nodeName
field at all now? If not, let's remove it.
isDeleteAllowed prevented a machine backing a node where the machine controller is running from being deleted. The controller is meant to be a simple CRUD and for single master scenarios upper level tooling should provide smarter logic
66d18cd
to
1c4b6df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ingvagabund The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
655e2d6
into
openshift:openshift-4.2-cluster-api-0.1.0
Bug 1752088: UPSTREAM: <carry>: openshift: Revendor to bring openshift/cluster-api#72
Bug 1752088: UPSTREAM: <carry>: openshift: Revendor to bring openshift/cluster-api#72
Bug 1752088: UPSTREAM: <carry>: openshift: Revendor to bring openshift/cluster-api#72
…ster-api#72" This reverts commit f14d88b.
isDeleteAllowed prevented a machine backing a node where the machine controller is running from being deleted. The controller is meant to be a simple CRUD and for single master scenarios upper level tooling should provide smarter logic.
Supersedes #49 so introducing annotation can be considered later on.