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

Support watching multiple Namespaces #897

Merged
merged 2 commits into from
Nov 9, 2021

Conversation

dvaldivia
Copy link
Collaborator

@dvaldivia dvaldivia commented Nov 9, 2021

Introduces support to watch multiple namespaces.

kubernetes client-go doesn't support having a single informer for multiple ns, so now we ask for everything and then filter out the tenants.

to test

deploy operator with WATCHED_NAMESPACE with value ns-1 and also test ns-1,ns-2 and ns-1, ns-2 (with spaces)

Signed-off-by: Daniel Valdivia 18384552+dvaldivia@users.noreply.github.com

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
Co-authored-by: Harshavardhana <harsha@minio.io>
@dvaldivia dvaldivia merged commit e342eab into minio:master Nov 9, 2021
@dvaldivia dvaldivia deleted the watch-multiple-namespaces branch November 9, 2021 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants