---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  labels:
    app.kubernetes.io/component: controller
    app.kubernetes.io/name: appwrapper
    control-plane: controller-manager
    rbac.authorization.k8s.io/aggregate-to-view: "true"
  name: appwrapper-viewer-role
rules:
  - apiGroups:
      - workload.codeflare.dev
    resources:
      - appwrappers
    verbs:
      - get
      - list
      - watch
  - apiGroups:
      - workload.codeflare.dev
    resources:
      - appwrappers/status
    verbs:
      - get
