Merge "Kube-state-metrics: Update resources in clusterrole"

This commit is contained in:
Zuul 2018-06-14 16:24:35 +00:00 committed by Gerrit Code Review
commit 59cf366ad4

View File

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