Support running insde kubernetes #5
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue