Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/kube-state-metrics/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords:
- prometheus
- kubernetes
type: application
version: 7.1.0
version: 7.1.1
# renovate: github-releases=kubernetes/kube-state-metrics
appVersion: 2.18.0
home: https://github.com/kubernetes/kube-state-metrics/
Expand Down
6 changes: 6 additions & 0 deletions charts/kube-state-metrics/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ rules:
- roles
verbs: ["list", "watch"]
{{ end -}}
{{ if has "rolebindings" $.Values.collectors }}
- apiGroups: ["rbac.authorization.k8s.io"]
resources:
- rolebindings
verbs: ["list", "watch"]
{{ end -}}
{{ if has "nodes" $.Values.collectors }}
- apiGroups: [""]
resources:
Expand Down
1 change: 1 addition & 0 deletions charts/kube-state-metrics/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ collectors:
# - clusterrolebindings
# - clusterroles
# - roles
# - rolebindings

# Enabling kubeconfig will pass the --kubeconfig argument to the container
kubeconfig:
Expand Down