From a95c8b95850f4e597286aa4817afed525df46450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Badst=C3=BCbner?= Date: Wed, 30 Oct 2024 14:39:02 +0100 Subject: [PATCH] chore(plugins,remove-finalizers): make sure the resources api group is respected (#2926) I had an issue where RabbitMQ created a CRD called `policies`, but Kyverno also did and the finalizer removal did not hit the RabbitMQ CRD. --- plugins/remove-finalizers.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/remove-finalizers.yaml b/plugins/remove-finalizers.yaml index b7a83d67..ebc59f20 100644 --- a/plugins/remove-finalizers.yaml +++ b/plugins/remove-finalizers.yaml @@ -25,7 +25,7 @@ plugins: - $CONTEXT - --namespace - $NAMESPACE - - $RESOURCE_NAME + - $RESOURCE_NAME.$RESOURCE_GROUP - $NAME - -p - '{"metadata":{"finalizers":null}}'