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

Limit cache/informers to given namespace #3

Merged
merged 1 commit into from
Nov 3, 2023
Merged

Limit cache/informers to given namespace #3

merged 1 commit into from
Nov 3, 2023

Conversation

bastjan
Copy link
Contributor

@bastjan bastjan commented Nov 2, 2023

This should improve security; controller will only be able to check secrets in its own namespace. It also has the potential to lower resource usage drastically on bigger clusters with many objects.

Checklist

  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog

@bastjan bastjan added the enhancement New feature or request label Nov 2, 2023
@bastjan bastjan requested a review from a team as a code owner November 2, 2023 17:39
@bastjan bastjan changed the title Limit manager to given namespace Limit controller to given namespace Nov 2, 2023
@bastjan bastjan changed the title Limit controller to given namespace Limit cache/informers to given namespace Nov 3, 2023
This should improve security; controller will only be able to check secrets in it's own namespace.
It also has the potential to lower resource usage drastically on bigger clusters with many objects.
@bastjan bastjan merged commit 5d6ca9d into master Nov 3, 2023
3 checks passed
@bastjan bastjan deleted the limit-to-ns branch November 3, 2023 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants