Skip to content

Commit

Permalink
Merge pull request #2 from utilitywarehouse/move-leases-privs-to-cluster
Browse files Browse the repository at this point in the history
Permissions on "coordination.k8s.io" can be granted only by cluster admins.
  • Loading branch information
sbuliarca authored May 25, 2022
2 parents 17340a2 + 44278d6 commit 79b9638
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions cluster/operator-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ rules:
- clustertriggerauthentications/status
verbs:
- '*'
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- '*'
6 changes: 0 additions & 6 deletions namespaced/operator/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ rules:
- triggerauthentications/status
verbs:
- '*'
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down

0 comments on commit 79b9638

Please sign in to comment.