apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: constellation-operator-manager-role
  namespace: testNamespace
  labels:
    helm.sh/chart: constellation-operator-2.3.0
    app.kubernetes.io/name: constellation-operator
    app.kubernetes.io/instance: testRelease
    app.kubernetes.io/managed-by: Helm
rules:
- apiGroups:
  - ""
  resources:
  - nodes
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - ""
  resources:
  - nodes/status
  verbs:
  - get
- apiGroups:
  - apps
  resources:
  - deployments
  verbs:
  - create
  - delete
  - get
  - list
  - update
  - watch
- apiGroups:
  - nodemaintenance.medik8s.io
  resources:
  - nodemaintenances
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - update.edgeless.systems
  resources:
  - autoscalingstrategies
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - update.edgeless.systems
  resources:
  - autoscalingstrategies/finalizers
  verbs:
  - update
- apiGroups:
  - update.edgeless.systems
  resources:
  - autoscalingstrategies/status
  verbs:
  - get
  - patch
  - update
- apiGroups:
  - update.edgeless.systems
  resources:
  - joiningnodes
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - update.edgeless.systems
  resources:
  - joiningnodes/finalizers
  verbs:
  - update
- apiGroups:
  - update.edgeless.systems
  resources:
  - joiningnodes/status
  verbs:
  - get
  - patch
  - update
- apiGroups:
  - update.edgeless.systems
  resources:
  - nodeimage
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - update.edgeless.systems
  resources:
  - nodeimages
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - update.edgeless.systems
  resources:
  - nodeimages/finalizers
  verbs:
  - update
- apiGroups:
  - update.edgeless.systems
  resources:
  - nodeimages/status
  verbs:
  - get
  - patch
  - update
- apiGroups:
  - update.edgeless.systems
  resources:
  - pendingnodes
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - update.edgeless.systems
  resources:
  - pendingnodes/finalizers
  verbs:
  - update
- apiGroups:
  - update.edgeless.systems
  resources:
  - pendingnodes/status
  verbs:
  - get
  - patch
  - update
- apiGroups:
  - update.edgeless.systems
  resources:
  - scalinggroups
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - update.edgeless.systems
  resources:
  - scalinggroups/finalizers
  verbs:
  - update
- apiGroups:
  - update.edgeless.systems
  resources:
  - scalinggroups/status
  verbs:
  - get
  - patch
  - update
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: constellation-operator-manager-rolebinding
  namespace: testNamespace
  labels:
    helm.sh/chart: constellation-operator-2.3.0
    app.kubernetes.io/name: constellation-operator
    app.kubernetes.io/instance: testRelease
    app.kubernetes.io/managed-by: Helm
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: 'constellation-operator-manager-role'
subjects:
- kind: ServiceAccount
  name: 'constellation-operator-controller-manager'
  namespace: 'testNamespace'
