Skip to content

[kube-state-metrics] Rolebindings not working #6272

@KoenDierckx

Description

@KoenDierckx

Describe the bug a clear and concise description of what the bug is.

Enabling the rolebindings collector does not produce metrics e.g. kube_rolebinding_info

What's your helm version?

version.BuildInfo{Version:"v3.19.0", GitCommit:"3d8990f0836691f0229297773f3524598f46bda6", GitTreeState:"clean", GoVersion:"go1.24.7"}

What's your kubectl version?

Client Version: v1.33.5 Kustomize Version: v5.6.0

Which chart?

kube-state-metrics

What's the chart version?

6.3.0

What happened?

no kube_rolebinding_info metric

What you expected to happen?

Enabling the rolebindings collector does not produce metrics e.g. kube_rolebinding_info

How to reproduce it?

using these values for collectors, give kube_role_info but not kube_rolebinding_info

kube-state-metrics:
collectors:
- certificatesigningrequests
- configmaps
- cronjobs
- daemonsets
- deployments
- endpoints
- horizontalpodautoscalers
- ingresses
- jobs
- leases
- limitranges
- mutatingwebhookconfigurations
- namespaces
- networkpolicies
- nodes
- persistentvolumeclaims
- persistentvolumes
- poddisruptionbudgets
- pods
- replicasets
- replicationcontrollers
- resourcequotas
- secrets
- services
- statefulsets
- storageclasses
- validatingwebhookconfigurations
- volumeattachments
# Uncommented to collect all resources !
- ingressclasses
- clusterrolebindings
- clusterroles
- roles
- rolebindings

Enter the changed values of values.yaml?

No response

Enter the command that you execute and failing/misfunctioning.

helm install ksm prometheus-community/kube-state-metrics --version 6.30 --values values.yaml

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions