add additional permissions for kube-state-metrics (#2086)

This commit is contained in:
Sebastian Melchior
2017-09-30 23:55:53 -04:00
committed by Vic Iglesias
parent ede6364b9f
commit f25eb872ac
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: prometheus
version: 4.6.2
version: 4.6.3
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
@@ -19,6 +19,7 @@ rules:
- resourcequotas
- replicationcontrollers
- limitranges
- persistentvolumeclaims
verbs:
- list
- watch
@@ -31,4 +32,19 @@ rules:
verbs:
- list
- watch
- apiGroups:
- apps
resources:
- statefulsets
verbs:
- list
- watch
- apiGroups:
- batch
resources:
- cronjobs
- jobs
verbs:
- list
- watch
{{- end }}