
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  creationTimestamp: null
  name: performance-operator
rules:
- apiGroups:
  - ""
  resources:
  - events
  verbs:
  - '*'
- apiGroups:
  - machineconfiguration.openshift.io
  resources:
  - kubeletconfigs
  - machineconfigpools
  - machineconfigs
  verbs:
  - '*'
- apiGroups:
  - node.k8s.io
  resources:
  - runtimeclasses
  verbs:
  - '*'
- apiGroups:
  - performance.openshift.io
  resources:
  - performanceprofiles
  - performanceprofiles/finalizers
  - performanceprofiles/status
  verbs:
  - '*'
- apiGroups:
  - tuned.openshift.io
  resources:
  - tuneds
  verbs:
  - '*'

---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  creationTimestamp: null
  name: performance-operator
  namespace: openshift-performance-addon-operator
rules:
- apiGroups:
  - apps
  resources:
  - daemonsets
  - deployments
  - replicasets
  - statefulsets
  verbs:
  - '*'
- apiGroups:
  - apps
  resourceNames:
  - performance-operator
  resources:
  - deployments/finalizers
  verbs:
  - update
- apiGroups:
  - ""
  resources:
  - configmaps
  - pods
  - services
  - services/finalizers
  verbs:
  - '*'
- apiGroups:
  - monitoring.coreos.com
  resources:
  - servicemonitors
  verbs:
  - '*'
