You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/06/05 12:23:33 UTC

[GitHub] [camel-k] astefanutti commented on a change in pull request #723: Automatically configure global build strategy

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:
users@infra.apache.org


With regards,
Apache Git Services