From 510fb09a13c783afc8680514d295c35a9d184efe Mon Sep 17 00:00:00 2001 From: Ram Lavi Date: Tue, 6 Aug 2024 14:32:22 +0300 Subject: [PATCH] pkg/components: Add net-attach-def permissions In order for CNAO to manage a new net-attach-def resource it needs to be able to create/update/remove it. Adding the needed permissions. Signed-off-by: Ram Lavi --- pkg/components/components.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/components/components.go b/pkg/components/components.go index 3adad747f..a968e824d 100644 --- a/pkg/components/components.go +++ b/pkg/components/components.go @@ -742,6 +742,9 @@ func GetClusterRole(allowMultus bool) *rbacv1.ClusterRole { "get", "list", "watch", + "create", + "update", + "delete", }, }, },