---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: codemowers-cloud-wildduck-operator
rules:
  - apiGroups:
      - codemowers.cloud
    resources:
      - oidcusers
    verbs:
      - get
      - list
      - watch
  - apiGroups:
      - codemowers.cloud
    resources:
      - oidcusers/status
    verbs:
      - patch
      - update
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: codemowers-cloud-wildduck-operator
  namespace: wildduck
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: codemowers-cloud-wildduck-operator
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: codemowers-cloud-wildduck-operator
subjects:
  - kind: ServiceAccount
    name: codemowers-cloud-wildduck-operator
    namespace: wildduck