Reamer commented on pull request #4174:
URL: https://github.com/apache/zeppelin/pull/4174#issuecomment-901931097


   To avoid creating the same `Role` in every namespace, a `ClusterRole` would 
be good.
   You can then create a `RoleBinding` in each namespace, which has the 
Zeppelin server `ServiceAccount` as subject.
   Example `RoleBinding` in `spark` namespace.
   
   ```
   kind: RoleBinding
   apiVersion: rbac.authorization.k8s.io/v1
   metadata:
     name: zeppelin-server-role-binding
     namespace: spark
   subjects:
     - kind: ServiceAccount
       name: zeppelin-server
       namespace: default
   roleRef:
     apiGroup: rbac.authorization.k8s.io
     kind: ClusterRole
     name: zeppelin-server-role
   ```
   
   I think that should be sufficient. This `RoleBinding` should be created 
manuell by the user for each namespace, which should be used be zepperlin.


-- 
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: dev-unsubscr...@zeppelin.apache.org

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


Reply via email to