Support running insde kubernetes #5
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
name: minecraft-ingress
|
name: minecraft-ingress
|
||||||
rules:
|
rules:
|
||||||
- apiGroups: [""] # "" indicates the core API group
|
- apiGroups: ["apps", ""] # "" indicates the core API group
|
||||||
resources: ["pods","deployments","services"]
|
resources: ["pods","deployments","services"]
|
||||||
verbs: ["get", "list", "patch", "watch"]
|
verbs: ["get", "list", "patch", "watch"]
|
||||||
---
|
---
|
||||||
|
|
@ -64,5 +64,5 @@ spec:
|
||||||
port: 25565
|
port: 25565
|
||||||
nodePort: 30565
|
nodePort: 30565
|
||||||
selector:
|
selector:
|
||||||
server: minecraft-ingress
|
app: minecraft-ingress
|
||||||
type: NodePort
|
type: NodePort
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue