apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: kube-state-metrics
  labels:
    app.kubernetes.io/name: kube-state-metrics
    app.kubernetes.io/version: v1.8.0

roleRef:
  name: kube-state-metrics
  kind: ClusterRole
  apiGroup: rbac.authorization.k8s.io

subjects:
- kind: ServiceAccount
  name: kube-state-metrics
  namespace: kube-system
