# permissions for end users to view gameservers.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: gameserver-viewer-role
rules:
- apiGroups:
  - game.kruise.io
  resources:
  - gameservers
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - game.kruise.io
  resources:
  - gameservers/status
  verbs:
  - get
