mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-10-28 14:41:02 +01:00
kube-prometheus: Update RBAC for kube-state-metrics
kube-state-metrics needs additional permissions for replicationcontrollers, limitranges, and services (otherwise the API server logs are flooded with RBAC DENY messages)
This commit is contained in:
parent
a5533a4f6c
commit
5a5bfab855
@ -7,7 +7,10 @@ rules:
|
|||||||
resources:
|
resources:
|
||||||
- nodes
|
- nodes
|
||||||
- pods
|
- pods
|
||||||
|
- services
|
||||||
- resourcequotas
|
- resourcequotas
|
||||||
|
- replicationcontrollers
|
||||||
|
- limitranges
|
||||||
verbs: ["list", "watch"]
|
verbs: ["list", "watch"]
|
||||||
- apiGroups: ["extensions"]
|
- apiGroups: ["extensions"]
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user