---

apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: use-heapster
  namespace: kube-dashboard
  labels:
    app: kube-dashboard
rules:
  # Allow Dashboard to get metrics from heapster.
- 
  apiGroups: [""]
  resources: ["services"]
  resourceNames: ["heapster"]
  verbs: ["proxy"]
- 
  apiGroups: [""]
  resources: ["services/proxy"]
  resourceNames: ["heapster", "http:heapster:", "https:heapster:"]
  verbs: ["get"]
