apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: prometheus-scrape
  namespace: exporter
  labels:
    app: metrics-exporter
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: prometheus-scrape
subjects:
- apiGroup: ""
  kind: ServiceAccount
  name: prometheus-k8s
  namespace: prometheus
