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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃尡 Add function to controllerutil RemoveControllerReference
to remove controller references from objects
#2455
Conversation
Signed-off-by: Troy Connor <troy0820@users.noreply.github.com>
Welcome @troy0820! |
Hi @troy0820. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: troy0820 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
a8c1417
to
770c4ab
Compare
RemoveControllerReference
to remove controller references from objectsRemoveControllerReference
to remove controller references from objects
RemoveControllerReference
to remove controller references from objectsRemoveControllerReference
to remove controller references from objects
/ok-to-test |
Signed-off-by: Troy Connor <troy0820@users.noreply.github.com>
770c4ab
to
7bdfa40
Compare
Signed-off-by: Troy Connor <troy0820@users.noreply.github.com>
Signed-off-by: Troy Connor <troy0820@users.noreply.github.com>
RemoveControllerReference
to remove controller references from objectsRemoveControllerReference
to remove controller references from objects
Closing and deferring all feedback to #2462 Same method but allows us to utilize this function to remove owner references and/or controller references. |
When using the function
SetControllerReference
it will error when trying to overwrite the controller reference. In issue #2381 the method used to circumvent the errors is to remove the controller reference and then reapply the new controller reference. There is no exposed method to do this. This mimics the behavior of removing a finalizerResolves #2381
Release note: