apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: heapster
  labels:
    name: heapster
    task: monitoring
    k8s-app: heapster
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: 'system:heapster'
subjects:
  - kind: ServiceAccount
    name: heapster
    namespace: kube-system
