Skip to content

Commit

Permalink
rbac: remove unwaned rbac for the leader election
Browse files Browse the repository at this point in the history
Considering we have removed leader election based on endpoints.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
  • Loading branch information
humblec committed Apr 12, 2022
1 parent 36cdf22 commit 5d70be5
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 5d70be5

Please sign in to comment.