Skip to content
Snippets Groups Projects
Commit 4d4323dc authored by SilverFox's avatar SilverFox
Browse files

kube-prometheus: Add missing RBAC rules to kube-state-metrics

parent d379175b
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,9 @@ rules: ...@@ -12,6 +12,9 @@ rules:
- replicationcontrollers - replicationcontrollers
- limitranges - limitranges
- persistentvolumeclaims - persistentvolumeclaims
- persistentvolumes
- namespaces
- endpoints
verbs: ["list", "watch"] verbs: ["list", "watch"]
- apiGroups: ["extensions"] - apiGroups: ["extensions"]
resources: resources:
...@@ -28,6 +31,10 @@ rules: ...@@ -28,6 +31,10 @@ rules:
- cronjobs - cronjobs
- jobs - jobs
verbs: ["list", "watch"] verbs: ["list", "watch"]
- apiGroups: ["autoscaling"]
resources:
- horizontalpodautoscalers
verbs: ["list", "watch"]
- apiGroups: ["authentication.k8s.io"] - apiGroups: ["authentication.k8s.io"]
resources: resources:
- tokenreviews - tokenreviews
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment