---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: prometheus-monitoring
rules:
  - verbs:
      - get
      - list
      - watch
    apiGroups:
      - ''
    resources:
      - services
      - endpoints
      - pods
  - verbs:
      - get
    apiGroups:
      - ''
    resources:
      - configmaps
