Skip to content

How can I support configuration of controller with slices of rbac/v1 PolicyRules #2443

Closed Answered by camilamacedo86
mojochao asked this question in Support
Discussion options

You must be logged in to vote

Hi @mojochao,

First, it's essential to clarify a point about RBAC when working with Kubebuilder and Operators. The RBAC configuration pertains to the entire Operator project. It's not specified for each individual controller within the Operator. This means that when you set up permissions, it's at the broader Operator level rather than a specific controller.

Permission Consideration: An important thing to note is that by using this approach, your Manager will require permissions to manage Role and ClusterRole objects. Depending on your cluster's security policies, granting such permissions might raise concerns, so you'll need to evaluate this aspect carefully.

Following some possible appr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by camilamacedo86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants