Skip to content

Commit

Permalink
Allow hub to read events.
Browse files Browse the repository at this point in the history
For jupyterhub/kubespawner#150 to work properly.
  • Loading branch information
clkao committed Mar 26, 2018
1 parent f24559f commit 1fa1725
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jupyterhub/templates/hub/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ rules:
- apiGroups: [""] # "" indicates the core API group
resources: ["pods", "persistentvolumeclaims"]
verbs: ["get", "watch", "list", "create", "delete"]
- apiGroups: [""] # "" indicates the core API group
resources: ["events"]
verbs: ["get", "watch", "list"]
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
Expand Down

0 comments on commit 1fa1725

Please sign in to comment.