Kube-state-metrics: Update resources in clusterrole

This updates the resources and the apigroups in the clusterrole
for kube-state-metrics to reflect the additional collectors that
are included in the image we use

Change-Id: I4b1c1779598e6488e4e1c8def18ad767d5d5fab4
This commit is contained in:
Steve Wilkerson 2018-06-12 17:26:01 -05:00
parent 561780f347
commit 9325f3d870
1 changed files with 13 additions and 2 deletions

View File

@ -28,14 +28,18 @@ rules:
- apiGroups:
- ""
resources:
- namespaces
- configmaps
- secrets
- nodes
- persistentvolumeclaims
- pods
- services
- resourcequotas
- replicationcontrollers
- limitranges
- persistentvolumeclaims
- persistentvolumes
- namespaces
- endpoints
verbs:
- list
- watch
@ -64,6 +68,13 @@ rules:
verbs:
- list
- watch
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding