tokers commented on issue #719:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/719#issuecomment-952580665


   AFAIK, a ServiceAccount cannot bind to a ClusterRole and a Role at the same 
while, we need ClusterRole since we need to watch a few namespaces. So It's 
tough to be restrictive about the `lease` resource just by the native RBAC 
implementation, maybe you can resort to tools like OpenPolicyAgent to add extra 
policies to restrict the behaviors for `lease`.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to