diff --git a/kube/roles.yaml b/kube/roles.yaml index efa3f25..09111bf 100644 --- a/kube/roles.yaml +++ b/kube/roles.yaml @@ -10,7 +10,7 @@ metadata: namespace: default name: minecraft-ingress rules: -- apiGroups: [""] # "" indicates the core API group +- apiGroups: ["apps", ""] # "" indicates the core API group resources: ["pods","deployments","services"] verbs: ["get", "list", "patch", "watch"] --- @@ -64,5 +64,5 @@ spec: port: 25565 nodePort: 30565 selector: - server: minecraft-ingress + app: minecraft-ingress type: NodePort