Skip to content

Commit

Permalink
Merge pull request #131 from enxebre/rbac-leases
Browse files Browse the repository at this point in the history
Add perms for leases.coordination.k8s.io
  • Loading branch information
openshift-merge-robot committed Jan 14, 2020
2 parents c013fba + b556a46 commit b43f2fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions install/03_rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,13 @@ rules:
- apiGroups: ["cluster.k8s.io","machine.openshift.io"]
resources: ["machinedeployments","machines","machinesets"]
verbs: ["watch","list","get","update"]
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
verbs: ["create"]
- apiGroups: ["coordination.k8s.io"]
resourceNames: ["cluster-autoscaler"]
resources: ["leases"]
verbs: ["get", "update"]

---
apiVersion: rbac.authorization.k8s.io/v1
Expand Down

0 comments on commit b43f2fa

Please sign in to comment.