Skip to content

Commit

Permalink
Merge pull request kubernetes-csi#725 from humblec/rbac
Browse files Browse the repository at this point in the history
rbac: remove unwaned rbac for the leader election
  • Loading branch information
k8s-ci-robot authored Apr 13, 2022
2 parents 36cdf22 + 5d70be5 commit 41be48e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions deploy/kubernetes/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ metadata:
rules:
# Only one of the following rules for endpoints or leases is required based on
# what is set for `--leader-election-type`. Endpoints are deprecated in favor of Leases.
- apiGroups: [""]
resources: ["endpoints"]
verbs: ["get", "watch", "list", "delete", "update", "create"]
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
verbs: ["get", "watch", "list", "delete", "update", "create"]
Expand Down

0 comments on commit 41be48e

Please sign in to comment.