-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Generate suggested Roles for CR users #886
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
@DirectXMan12: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @camilamacedo86 |
Reopen this since we may want to revise it per #1165 (comment) |
/kind feature
Today, KB use some static roles and it generates a dynamic Role from the
//+kubebuilder:rbac:...
comments. These cover the permissions the controller needs.These are not the ones this feature request is talking about.
KB should also generate ClusterRoles to be used by end users who want to CRUD CRs defined by the CRDs in the KB project.
Say my KB project defines something called
admirals
.KB should defined a ClusterRole called
admiral-editor
andadmiral-viewer
.These should be something the consumer of the operator is recommended to install.
The consumer of the operator (usually different from the KB user) would be responsible for making any bindings between their users and these Roles.
The text was updated successfully, but these errors were encountered: