How to write an ACM Policy which does not check for a certain name but a list of Kubernetes objects (like pods)?

Solution In Progress - Updated -

Issue

There are several pods in a certain namespace and want to check that all of them have a certain label. How to implement this and not want to check for the concrete pod-names?

Environment

Red Hat Advanced Cluster Manager (RHACM) 2.2, 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