-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
馃悰Check errors for IsNotFound after patching spec and status #10787
base: main
Are you sure you want to change the base?
馃悰Check errors for IsNotFound after patching spec and status #10787
Conversation
2d389a3
to
d6ac4de
Compare
d6ac4de
to
13dba33
Compare
0b48a19
to
42fa16e
Compare
/hold going to comment on the issue on the reasoning for the hold |
42fa16e
to
1a51016
Compare
/assign @sbueringer |
Signed-off-by: Troy Connor <[email protected]>
1a51016
to
120874b
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
What this PR does / why we need it:
This allows the patch helper to ignore patching the status when creating a patch.The solution for the issue below was to check the object if the finalizers are removed and if the DeletionTimeStamp was not nil and the error after patching the status/spec was
IsNotFound
. This will cut down on noise as well as achieve with not exposing the internals of the patch helper.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #10786
/area util