From 678b21aaebc70a470764ba604862e4e2216744b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Badst=C3=BCbner?= Date: Tue, 22 Oct 2024 12:30:34 +0200 Subject: [PATCH] chore(plugins,remove-finalizers): make sure the resources api group is respected 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 b7a83d67d5..ebc59f207f 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}}'