---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role

metadata:
  name: cert-manager:leaderelection

rules:
  - apiGroups:
      - ""
    resourceNames:
      - "cert-manager-controller"
    resources:
      - "configmaps"
    verbs:
      - "get"
      - "update"
      - "patch"
  - apiGroups:
      - ""
    resources:
      - "configmaps"
    verbs:
      - "create"

...
