# permissions to do viewer agents.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: agent-viewer-role
rules:
- apiGroups:
  - tower.kubesphere.io
  resources:
  - agents
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - tower.kubesphere.io
  resources:
  - agents/status
  verbs:
  - get
