Support running insde kubernetes #5
1 changed files with 11 additions and 0 deletions
|
|
@ -7,3 +7,14 @@ rules:
|
||||||
- apiGroups: [""] # "" indicates the core API group
|
- apiGroups: [""] # "" indicates the core API group
|
||||||
resources: ["pods","deployments","services"]
|
resources: ["pods","deployments","services"]
|
||||||
verbs: ["get", "list"]
|
verbs: ["get", "list"]
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: minecraft-ingress
|
||||||
|
labels:
|
||||||
|
app: minecraft-ingress
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue