-
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
Update controller RBAC for ConfigMap and PersistentVolumeClaim #2187
Update controller RBAC for ConfigMap and PersistentVolumeClaim #2187
Conversation
Signed-off-by: Yi Chen <github@chenyicn.net>
/assign @yuchaoran2011 @vara-bonthu @jacobsalway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
This is a subset of the permissions available to the controller service account pre 2.0.0, so I don't see any issue with adding these and creating a 2.0.1 release to fix.
As you said in #2185 (comment), I would imagine these permissions are required for the informers in the caches inside the controller-runtime
framework. Not familiar with all the internals but my rough understanding is that a list is required on informer startup while a watch stream is used to stay up to date.
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ChenYi015, jacobsalway 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 |
Signed-off-by: Yi Chen <github@chenyicn.net> (cherry picked from commit 73caefd)
Signed-off-by: Yi Chen <github@chenyicn.net> (cherry picked from commit 73caefd)
Purpose of this PR
Close #2185
Proposed changes:
list
andwatch
permissions for configmapsget
,list
,watch
,create
,update
,patch
anddelete
permissions for persistentvolumeclaimsChange Category
Checklist
Before submitting your PR, please review the following:
Additional Notes