1
0
mirror of synced 2026-02-06 10:55:56 +00:00

Add permissions for controller leader election.

The v0.8.0 version of the controller-runtime uses both config maps and
leases to perform leader election. These permissions seem to be in the
individual controller repos, but not here. For example
2d38de8779/config/rbac/leader_election_role.yaml (L33-L44)

Signed-off-by: Brian Atkinson <brian@atkinson.mn>
This commit is contained in:
Brian Atkinson
2021-01-25 10:12:57 -08:00
parent eb86505375
commit a18f84c27b

View File

@@ -28,6 +28,18 @@ rules:
verbs:
- create
- patch
- apiGroups:
- "coordination.k8s.io"
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding