-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat: whitelist namespaces #70
Comments
@ivanmartos thinking out loud, in order to monitoring a sub-range of namespaces the refactoring could be something like that: 1 Case: Infrastructural KubeDownscaler (AS-IS)
2 Case: Constrainted KubeDownscaler
For the code:
Will require a bit of error handling inside the business logic but might be doable |
Could be even easier using the already present
|
Hey @samuel-esp Also I am not sure whether replicating logic as in |
Hi @ivanmartos, I studied a bit more in depth the situation and the code, I think it is possible to restrict the access to punctual namespaces.I I will share my finds below First of all
Unfortunately these statements in the documentation are not true (probably the code was refactored in the past but the documentation was not). Basically you can use these arguments at the same time, the will only conflict if the In order to implement the new feature, it is needed to
I'll try to see if I can design the update |
#71 this pull request aims to help the introduction of this feature |
#73 the feature should be ready! |
The pull request was merged, issue can be closed |
Issue
This is a feature request
Currently solution requires cluster wide access that can be problematic in enterprise organizations. Motivation is to get rid of cluster-wide access requirement and instead provide list of namespaces that should be monitored
Problem to solve
Add possibility to reduce required permissions from cluster scope to namespace scoped
Further details
Proposal
Currently there is a
--namespaces
option. This could be replaced by a list of namespaces that should be tracked. If this option would not be specified, current solution would still work (cluster wide)Who can address the issue
Other links/references
The text was updated successfully, but these errors were encountered: