Skip to content
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

Restrict namespace for list/watch based on field selectors #1

Closed
wants to merge 1 commit into from

Conversation

shlomitk1
Copy link
Owner

Signed-off-by: SHLOMITK@il.ibm.com shlomitk@il.ibm.com

Refers to kubernetes-sigs#244 (comment)

This PR creates a namespace-scoped client in ListFunc and WatchFunc if there is a field selector for metadata.namespace and the global namespace is not specified.

Signed-off-by: SHLOMITK@il.ibm.com <shlomitk@il.ibm.com>
@shlomitk1 shlomitk1 closed this Jul 27, 2021
@shlomitk1 shlomitk1 deleted the namespace-restriction-from-selector branch October 12, 2021 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant