diff --git a/bootstrap/kubeadm/config/rbac/leader_election_role.yaml b/bootstrap/kubeadm/config/rbac/leader_election_role.yaml index eaa79158fb12..86ba4b1ee86f 100644 --- a/bootstrap/kubeadm/config/rbac/leader_election_role.yaml +++ b/bootstrap/kubeadm/config/rbac/leader_election_role.yaml @@ -30,3 +30,15 @@ rules: - events verbs: - create +- apiGroups: + - "coordination.k8s.io" + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete diff --git a/config/ci/rbac/leader_election_role.yaml b/config/ci/rbac/leader_election_role.yaml index b8a6f7520555..c654b67339c2 100644 --- a/config/ci/rbac/leader_election_role.yaml +++ b/config/ci/rbac/leader_election_role.yaml @@ -31,3 +31,15 @@ rules: - events verbs: - create +- apiGroups: + - "coordination.k8s.io" + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete diff --git a/config/rbac/leader_election_role.yaml b/config/rbac/leader_election_role.yaml index b8a6f7520555..c654b67339c2 100644 --- a/config/rbac/leader_election_role.yaml +++ b/config/rbac/leader_election_role.yaml @@ -31,3 +31,15 @@ rules: - events verbs: - create +- apiGroups: + - "coordination.k8s.io" + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete diff --git a/controlplane/kubeadm/config/rbac/leader_election_role.yaml b/controlplane/kubeadm/config/rbac/leader_election_role.yaml index eaa79158fb12..86ba4b1ee86f 100644 --- a/controlplane/kubeadm/config/rbac/leader_election_role.yaml +++ b/controlplane/kubeadm/config/rbac/leader_election_role.yaml @@ -30,3 +30,15 @@ rules: - events verbs: - create +- apiGroups: + - "coordination.k8s.io" + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete diff --git a/test/infrastructure/docker/config/rbac/leader_election_role.yaml b/test/infrastructure/docker/config/rbac/leader_election_role.yaml index eaa79158fb12..86ba4b1ee86f 100644 --- a/test/infrastructure/docker/config/rbac/leader_election_role.yaml +++ b/test/infrastructure/docker/config/rbac/leader_election_role.yaml @@ -30,3 +30,15 @@ rules: - events verbs: - create +- apiGroups: + - "coordination.k8s.io" + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete