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

Fix watch-namespace option #579

Merged
merged 1 commit into from
May 19, 2020
Merged

Fix watch-namespace option #579

merged 1 commit into from
May 19, 2020

Conversation

jcmoraisjr
Copy link
Owner

Some ingress annotations and command-line options can read resources from other namespaces. The watch-namespace command-line option just filter ingress resources from the informed namespace but all other resources are still read from the whole cluster. The force-namespace-isolation command-line option will enforce the read of just a single namespace, so the admin can configure a more strict permission to the controller's service account.

During lister refactor this behavior wasn't properly rewritten and watch namespace wasn't filtering ingress resources from a single namespace. This change fixes this behavior.

Some ingress annotations and command-line options can read resources from other namespaces. The watch-namespace command-line option just filter ingress resources from the informed namespace but all other resources are still read from the whole cluster. The force-namespace-isolation command-line option will enforce the read of just a single namespace, so the admin can configure a more strict permission to the controller's service account.

During lister refactor this behavior wasn't properly rewritten and watch namespace wasn't filtering ingress resources from a single namespace. This change fixes this behavior.
@jcmoraisjr jcmoraisjr merged commit 7cb0868 into master May 19, 2020
@jcmoraisjr jcmoraisjr deleted the jm-filter-watch-ns branch May 19, 2020 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant