You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "yccharles (via GitHub)" <gi...@apache.org> on 2024/10/22 09:10:03 UTC

[PR] fix: update role [pulsar-helm-chart]

yccharles opened a new pull request, #543:
URL: https://github.com/apache/pulsar-helm-chart/pull/543

   Fixes # rbac role
   
   ### Motivation
   
   deployments and statefulsets belong to apiGroups "app"
   
   If a user only have a namespace auth ,  Its will break down when helm install this chart . Because of  wrong apiGroups.
   
   ``` 
   "my-milvus-0-pulsar-broker-role" is forbidden: user "[xxxxxxxxx](mailto:milvus-storage@376054.sa)" (groups=["xxxxxxxx" "system:authenticated"]) is attempting to grant RBAC permissions not currently held:
   {APIGroups:[""], Resources:["deployments"], Verbs:["watch" "update" "create" "delete" "patch"]}
   {APIGroups:[""], Resources:["statefulsets"], Verbs:["watch" "update" "create" "delete" "patch"]}
   {APIGroups:["apps"], Resources:["pods"], Verbs:["list" "watch" "get" "update" "create" "delete" "patch"]}
   {APIGroups:["apps"], Resources:["secrets"], Verbs:["list" "watch" "get" "update" "create" "delete" "patch"]}
   {APIGroups:["apps"], Resources:["services"], Verbs:["list" "watch" "get" "update" "create" "delete" "patch"]}
   {APIGroups:["extensions"], Resources:["pods"], Verbs:["list" "watch" "get" "update" "create" "delete" "patch"]}
   {APIGroups:["extensions"], Resources:["secrets"], Verbs:["list" "watch" "get" "update" "create" "delete" "patch"]}
   {APIGroups:["extensions"], Resources:["services"], Verbs:["list" "watch" "get" "update" "create" "delete" "patch"]}
   {APIGroups:["extensions"], Resources:["statefulsets"], Verbs:["list" "watch" "get" "update" "create" "delete" "patch"]}
   ``` 
   
   ### Modifications
   
   Change role apiGroups.
   Delete extensions apiGroups
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: update role: deployments and statefulsets belong to apiGroups "apps" [pulsar-helm-chart]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari merged PR #543:
URL: https://github.com/apache/pulsar-helm-chart/pull/543


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org