From 1998ef3de99318a4f419e9aed019a1efbfb51860 Mon Sep 17 00:00:00 2001 From: Eguzki Astiz Lezaun Date: Mon, 11 Nov 2024 18:43:40 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=AA=9B=20add=20kuadrant=20finalizer?= =?UTF-8?q?=20=F0=9F=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eguzki Astiz Lezaun --- bundle/manifests/kuadrant-operator.clusterserviceversion.yaml | 3 ++- config/rbac/role.yaml | 1 + controllers/state_of_the_world.go | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bundle/manifests/kuadrant-operator.clusterserviceversion.yaml b/bundle/manifests/kuadrant-operator.clusterserviceversion.yaml index 5341118d9..fba60bec9 100644 --- a/bundle/manifests/kuadrant-operator.clusterserviceversion.yaml +++ b/bundle/manifests/kuadrant-operator.clusterserviceversion.yaml @@ -105,7 +105,7 @@ metadata: capabilities: Basic Install categories: Integration & Delivery containerImage: quay.io/kuadrant/kuadrant-operator:latest - createdAt: "2024-11-08T16:43:37Z" + createdAt: "2024-11-11T17:42:02Z" description: A Kubernetes Operator to manage the lifecycle of the Kuadrant system operators.operatorframework.io/builder: operator-sdk-v1.32.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 @@ -328,6 +328,7 @@ spec: resources: - authpolicies/finalizers - dnspolicies/finalizers + - kuadrants/finalizers - ratelimitpolicies/finalizers - tlspolicies/finalizers verbs: diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index e36117ada..916c9a132 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -176,6 +176,7 @@ rules: resources: - authpolicies/finalizers - dnspolicies/finalizers + - kuadrants/finalizers - ratelimitpolicies/finalizers - tlspolicies/finalizers verbs: diff --git a/controllers/state_of_the_world.go b/controllers/state_of_the_world.go index 01c181a06..cb42f10cc 100644 --- a/controllers/state_of_the_world.go +++ b/controllers/state_of_the_world.go @@ -57,6 +57,7 @@ var ( // kuadrant permissions //+kubebuilder:rbac:groups=kuadrant.io,resources=kuadrants,verbs=get;list;watch;update;patch +//+kubebuilder:rbac:groups=kuadrant.io,resources=kuadrants/finalizers,verbs=update //+kubebuilder:rbac:groups=kuadrant.io,resources=kuadrants/status,verbs=get;update;patch // core, apps, coordination.k8s,io permissions From 724e7a1b5e03c0313057d8b4c0453f99148589ad Mon Sep 17 00:00:00 2001 From: Eguzki Astiz Lezaun Date: Mon, 11 Nov 2024 19:11:12 +0100 Subject: [PATCH 2/2] update helm chart Signed-off-by: Eguzki Astiz Lezaun --- charts/kuadrant-operator/templates/manifests.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/kuadrant-operator/templates/manifests.yaml b/charts/kuadrant-operator/templates/manifests.yaml index 51510d0d0..b218c08f8 100644 --- a/charts/kuadrant-operator/templates/manifests.yaml +++ b/charts/kuadrant-operator/templates/manifests.yaml @@ -8679,6 +8679,7 @@ rules: resources: - authpolicies/finalizers - dnspolicies/finalizers + - kuadrants/finalizers - ratelimitpolicies/finalizers - tlspolicies/finalizers verbs: