# kube_prometheus_prometheus-frontend-alertmanager-discovery-role-binding.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: prometheus-frontend
  namespace: monitoring
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: alertmanager-discovery
subjects:
- kind: ServiceAccount
  name: prometheus-frontend
  namespace: default