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
initOpCache is not skipping undeletable resource in namespaced_resources_deleter #72758
Comments
Thanks for reporting this! You can link to the code block like this: kubernetes/pkg/controller/namespace/deletion/namespaced_resources_deleter.go Lines 186 to 188 in bd5a4cc
By looking at the /sig api-machinery |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
The code is confusing since it looks like it's adding things to the list, but it's really just priming a cache. The real check is:
in deleteAllContent |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. 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. |
What happened:
In initOpCache:
The execution doesn't continue with the next resource in the for loop which starts on line 182.
What you expected to happen:
The resource should be skipped but it seems the resource is handled as if the verb check doesn't exist.
How to reproduce it (as minimally and precisely as possible):
Found the issue during code inspection.
Anything else we need to know?:
None
Environment:
kubectl version
):uname -a
):@kubernetes/sig-contributor-experience-bugs
The text was updated successfully, but these errors were encountered: