Custom resource state metrics wildcard not working #2384
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened:
Metrics from custom resource is not produced when wildcard is used in kind field.
What you expected to happen:
The wildcard should produce metrics for all kinds.
How to reproduce it (as minimally and precisely as possible):
I have the following helm chart values file
It produces the following metrics:
However, when I replace
kind="UserAssignedIdentity"
tokind="*"
, like:Then it no longer produces any metrics. I have verified that the kube-state-metrics service account has list,watch,get on customresourcedefintions.
Anything else we need to know?:
Environment:
kubectl version
): v1.30.0The text was updated successfully, but these errors were encountered: