NoMatchingWorkloadsFound
This message occurs when an authorization policy’s selector does not match any pods.
Example
You will receive this message:
when your cluster has the following authorization policy:
In this example, the authorization policy httpbin-nopods
selects
pods with the label app=bogus-label
, and none exist.
How to resolve
- Change the selector to match the pods you have
- Label pods to match the selector