---
source: packages/shulker-operator/src/reconcilers/minecraft_cluster/minecraft_server_role.rs
expression: role
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  labels:
    app.kubernetes.io/component: minecraft-server-rbac
    app.kubernetes.io/instance: role-my-cluster
    app.kubernetes.io/managed-by: shulker-operator
    app.kubernetes.io/name: role
    app.kubernetes.io/part-of: cluster-my-cluster
    minecraftcluster.shulkermc.io/name: my-cluster
  name: "shulker:my-cluster:server"
  namespace: default
rules:
  - apiGroups:
      - agones.dev
    resources:
      - gameservers
    verbs:
      - list
      - watch
      - update
      - patch
  - apiGroups:
      - ""
    resources:
      - events
    verbs:
      - create
      - patch
