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

metadata:
  name: reloader-operator
  labels:
    app.kubernetes.io/name: reloader
    app.kubernetes.io/component: operator

rules:
  - apiGroups:
      - ""
    resources:
      - "secrets"
      - "configmaps"
    verbs:
      - "list"
      - "get"
      - "watch"
  - apiGroups:
      - "apps"
    resources:
      - "deployments"
      - "daemonsets"
      - "statefulsets"
    verbs:
      - "list"
      - "get"
      - "update"
      - "patch"
  - apiGroups:
      - "extensions"
    resources:
      - "deployments"
      - "daemonsets"
    verbs:
      - "list"
      - "get"
      - "update"
      - "patch"

...
