[stable/prometheus] Add Missing ClusterRole Permissions for Kube-state-metrics (#20004)

Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com>
This commit is contained in:
Yong Wen Chua
2020-01-10 00:40:33 -08:00
committed by Kubernetes Prow Robot
parent b50e1d1c73
commit 0f4b76bc44
2 changed files with 25 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: prometheus
version: 10.0.0
version: 10.0.1
appVersion: 2.15.2
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
@@ -51,6 +51,7 @@ rules:
- daemonsets
- deployments
- statefulsets
- replicasets
verbs:
- get
- list
@@ -77,6 +78,14 @@ rules:
verbs:
- list
- watch
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
- volumeattachments
verbs:
- list
- watch
- apiGroups:
- certificates.k8s.io
resources:
@@ -84,4 +93,19 @@ rules:
verbs:
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- networkpolicies
verbs:
- list
- watch
- apiGroups:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
- mutatingwebhookconfigurations
verbs:
- list
- watch
{{- end }}