Skip to content

[kube-state-metrics] Fix missing rolebindings RBAC rule (7.2.1)#6736

Closed
DrFaust92 wants to merge 1 commit intoprometheus-community:mainfrom
DrFaust92:kube-state-metrics-fix-rolebindings
Closed

[kube-state-metrics] Fix missing rolebindings RBAC rule (7.2.1)#6736
DrFaust92 wants to merge 1 commit intoprometheus-community:mainfrom
DrFaust92:kube-state-metrics-fix-rolebindings

Conversation

@DrFaust92
Copy link
Contributor

What this PR does / why we need it

Fixes a missing list/watch RBAC rule for the rolebindings resource in role.yaml. Without this rule, enabling the rolebindings collector produces no kube_rolebinding_info metrics even though roles, clusterroles, and clusterrolebindings all work correctly.

Also adds rolebindings to the commented optional collectors in values.yaml for discoverability.

Which issue this PR fixes

Special notes for your reviewer

Simple omission — the roles block existed but the corresponding rolebindings block was never added.

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

Add missing list/watch RBAC rule for rolebindings resource so that
enabling the rolebindings collector produces kube_rolebinding_info metrics.
Also add rolebindings to the commented optional collectors in values.yaml.

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[kube-state-metrics] Rolebindings not working

1 participant