apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: admin-cr
  annotations:
    mysql/annotation: "yes"
rules:
  - apiGroups: [""]
    resources:
      - pods
      - configmaps
    resourceNames:
      - pod-name
      - configmap-name
    verbs:
      - get
      - list
      - watch
