How to check which Resources on the Cluster have been created or modified by RHACM-Policies?

Solution Verified - Updated -


Assuming you have created a namespace or any other Kubernetes-Object using the enforce mode of a RHACM-Policy how can we find out that those objects have been created or modified by a Policy?
How can we delete all - or just some specific - Objects which have been created by RHACM-Policies on one or several Clusters?

Note: by design if you delete a Policy in RHACM the resources which have been created by the Policy will not be deleted.


RHACM 2.3; RHACM 2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content