Operator ClusterRole CRD

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: nodezero-operator-requirements
rules:
- apiGroups: [""]
  resources: ["namespace", "secrets", "serviceaccounts", "services"]
  verbs: ["*"]
- apiGroups: ["apps"]
  resources: ["deployments"]
  verbs: ["*"]
- apiGroups: ["admissionregistration.k8s.io/v1"]
  resources: ["mutatingwebhookconfigurations", "validatingwebhookconfigurations"]
  verbs: ["*"]
- apiGroups: ["apiextensions.k8s.io"]
  resources: ["customresourcedefinitions"]
  verbs: ["*"]
- apiGroups: ["rbac.authorization.k8s.io"]
  resources: ["clusterrole", "clusterrolebinding", "role", "rolebinding"]
  verbs: ["*"]
- apiGroups: ["networking.k8s.io/v1"]
  resources: ["networkpolicies"]
  verbs: ["*"]