# permissions to do viewer testworkflows.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: testworkflow-viewer-role
rules:
- apiGroups:
  - naglfar.pingcap.com
  resources:
  - testworkflows
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - naglfar.pingcap.com
  resources:
  - testworkflows/status
  verbs:
  - get
