From 58ad31a59016d339d324aee5c8e5a3085c1bc76b Mon Sep 17 00:00:00 2001 From: lazedo Date: Mon, 19 Sep 2022 13:30:51 +0100 Subject: [PATCH] add leases to kustomize rbac --- manifests/kustomize/components/rbac/clusterrole.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/manifests/kustomize/components/rbac/clusterrole.yaml b/manifests/kustomize/components/rbac/clusterrole.yaml index b75cdd134..28b05f9a2 100644 --- a/manifests/kustomize/components/rbac/clusterrole.yaml +++ b/manifests/kustomize/components/rbac/clusterrole.yaml @@ -16,6 +16,15 @@ rules: - customresourcedefinitions verbs: - "*" + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - get + - list + - update - apiGroups: - "" resources: