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

Update MCAD controller permissions #55

Closed
anishasthana opened this issue Mar 7, 2023 · 1 comment
Closed

Update MCAD controller permissions #55

anishasthana opened this issue Mar 7, 2023 · 1 comment

Comments

@anishasthana
Copy link
Member

anishasthana commented Mar 7, 2023

We have a large number of permissions directly defined in the mcad controller file: https://github.com/project-codeflare/codeflare-operator/blob/main/controllers/mcad_controller.go#L107-L127.

Instead of doing things this way, we should be restricting this set of permissions to those required specifically by the operator (namely https://github.com/project-codeflare/codeflare-operator/blob/main/controllers/mcad_controller.go#L195-L199)
The rest of the permissions should be moved into a (cluster)role and corresponding (cluster)rolebinding in the rbac directory, here: https://github.com/project-codeflare/codeflare-operator/tree/main/config/rbac

@astefanutti
Copy link
Contributor

This has become obsolete with #279.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants