-
Notifications
You must be signed in to change notification settings - Fork 443
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
Add a warning message when one created collector needs extra RBAC permissions and the service account doesn't have them #3433
base: main
Are you sure you want to change the base?
Conversation
iblancasa
commented
Nov 6, 2024
- Resolves: Show a warning in the webhook if the SA for a collector has not the correct RBAC permissions #3432
…missions and the service account doesn't have them Signed-off-by: Israel Blancas <[email protected]>
Signed-off-by: Israel Blancas <[email protected]>
Signed-off-by: Israel Blancas <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not confident we aren't missing some edge cases here. This PR modifies some core components, but doesn't include any new tests. Maybe we can include some test using envtest to check that the webhook behaves the way we expect?
I will check how to do that 👍🏻 |
Signed-off-by: Israel Blancas <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM