-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Support custom rules for read-only mode #7152
Conversation
When dashboard is started with read-only role, CRDs are not shown in UI due to permissions issue. This PR adds ability to provide custom rules for read-only role
Welcome @korjek! |
Thanks for the contribution! |
/assign |
@desaintmartin sorry for the late reply, it fell out of my radar.
Not sure that I got the idea. Could you please explain a bit more?
If someone uses helm to deploy everything, that would mean (if I got your idea correct) creating a custom in-house chart and using it to create role with custom permissions for k8s dashboard. I don't think this is a good way to go. |
|
I don't think it's possible, as every CRD has it's own apiGroup.
|
@desaintmartin thoughts? |
@desaintmartin could we proceed this way? or what other options do we have instead of forking? |
@shu-mutou maybe you can help here? |
Sorry for the huge delay. Indeed this makes sense for CRDs. |
Co-authored-by: Cédric de Saint Martin <[email protected]>
@desaintmartin thank you! |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: desaintmartin, korjek The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
When dashboard is started with read-only role, CRDs are not shown in UI due to permissions issue.
This PR adds ability to provide custom rules for read-only role