apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
    name: cluster-view-pods-all
subjects:
- kind: Group
  name: system:serviceaccounts:prometheus
  apiGroup: rbac.authorization.k8s.io
roleRef:
    kind: ClusterRole
    name: view-pods-all
    apiGroup: rbac.authorization.k8s.io
