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/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: 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