astefanutti commented on a change in pull request #723: Automatically configure global build strategy URL: https://github.com/apache/camel-k/pull/723#discussion_r290707424
########## File path: deploy/operator-role-kubernetes.yaml ########## @@ -20,6 +20,9 @@ rules: - persistentvolumeclaims - configmaps - secrets + - serviceaccounts + - roles + - rolebindings Review comment: I'm not sure how this works w.r.t. privilege escalation prevention [1]. My understanding is that the operator service account is not in the same scope, that is same namespace, as the roles and role bindings that are to be created. As, `escalate` nor `bind` verbs are granted, I wonder what am I missing 🤔. [1] https://kubernetes.io/docs/reference/access-authn-authz/rbac/#privilege-escalation-prevention-and-bootstrapping ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
