You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
One thing that can happen is that users will not give permission to the operator service account to create RBAC. In that case, users will need to manually create the RBAC for the service account running the collector. If the user is not cautious enough, can create a collector and have failures while running the collector because of the missing permissions.
Describe the solution you'd like
It would be nice to show a warning on the operator logs when the collector is being created.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Shouldn't we do this in the webhook instead? That would be much more visible to users. I would also add it to the Collector status before operator logs - these are already quite noisy imo.
Shouldn't we do this in the webhook instead? That would be much more visible to users. I would also add it to the Collector status before operator logs - these are already quite noisy imo.
I'm fine with that. Didn't want to do it in the webhook because I was not sure if it was too much "disruptive"
There's some potential for spurious warnings here, but imo it's outweighed by the gain of informing users what RBAC they need proactively.
iblancasa
changed the title
Show a message in the operator logs if the SA for a collector has not the correct RBAC permissions
Show a warning in the webhook if the SA for a collector has not the correct RBAC permissions
Nov 14, 2024
Component(s)
collector
Is your feature request related to a problem? Please describe.
One thing that can happen is that users will not give permission to the operator service account to create RBAC. In that case, users will need to manually create the RBAC for the service account running the collector. If the user is not cautious enough, can create a collector and have failures while running the collector because of the missing permissions.
Describe the solution you'd like
It would be nice to show a warning on the operator logs when the collector is being created.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: