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

Use an aggregated ClusterRole to aggregate roles required for workload resources #635

Open
astefanutti opened this issue Sep 15, 2023 · 0 comments

Comments

@astefanutti
Copy link
Contributor

WHY

MCAD perform CRUD permissions on an unbounded set of resources when processing AppWrappers.

At the moment, users have to create ClusterRoles and bind them to the MCAD ServiceAccount.

Conventionally, operators / controllers leverage aggregated ClusterRoles to meet that need, which prevents the users from having to create ClusterRoleBinding resources.

See https://kubernetes.io/docs/reference/access-authn-authz/rbac/#aggregated-clusterroles

WHAT

Create an aggregated ClusterRole, bound to MCAD ServiceAccount.

Document how to aggregate Roles, e.g. for KubeRay resources.

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

No branches or pull requests

2 participants