From f4cea4aee6eaf710825d842f650fabdae7fe79e0 Mon Sep 17 00:00:00 2001 From: Or Shoval Date: Sun, 11 Aug 2024 15:06:18 +0300 Subject: [PATCH] Add missing RBACS for kubevirt-ipam-controller Signed-off-by: Or Shoval --- pkg/components/components.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkg/components/components.go b/pkg/components/components.go index bc9a6c5b9..e661acce2 100644 --- a/pkg/components/components.go +++ b/pkg/components/components.go @@ -612,6 +612,18 @@ func GetClusterRole(allowMultus bool) *rbacv1.ClusterRole { "update", }, }, + { + APIGroups: []string{ + "kubevirt.io", + }, + Resources: []string{ + "virtualmachines/finalizers", + "virtualmachineinstances/finalizers", + }, + Verbs: []string{ + "update", + }, + }, { APIGroups: []string{ "apps",