How to check which Resources on the Cluster have been created or modified by RHACM-Policies?
Issue
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.
Environment
RHACM 2.3; RHACM 2.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.