minecraft: added k3s images
This commit is contained in:
24
minecraft/fabric/k3s-image.yaml
Normal file
24
minecraft/fabric/k3s-image.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: server-manager.acooldomain.co/v1alpha1
|
||||
kind: Image
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: kubernetes-operator
|
||||
app.kubernetes.io/managed-by: kustomize
|
||||
name: minecraft-fabric-1.20.1
|
||||
spec:
|
||||
location: git.acooldomain.co/server-manager/minecraft:fabric-1.20.1
|
||||
name: minecraft
|
||||
tag: fabric-1.20.1
|
||||
working_dir: /opt/server
|
||||
ports:
|
||||
- port: 25565
|
||||
protocol: TCP
|
||||
|
||||
init_script:
|
||||
image: alpine:latest
|
||||
command:
|
||||
- /bin/sh
|
||||
args:
|
||||
- /bin/sh
|
||||
- "-c"
|
||||
- "echo eula=true >> /data/eula.txt"
|
0
minecraft/paper/create.sh
Normal file → Executable file
0
minecraft/paper/create.sh
Normal file → Executable file
24
minecraft/paper/k3s-image.yaml
Normal file
24
minecraft/paper/k3s-image.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: server-manager.acooldomain.co/v1alpha1
|
||||
kind: Image
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: kubernetes-operator
|
||||
app.kubernetes.io/managed-by: kustomize
|
||||
name: minecraft-paper-1-21-8
|
||||
spec:
|
||||
location: git.acooldomain.co/server-manager/minecraft:paper-1.21.8
|
||||
name: minecraft:paper-1.21.8
|
||||
tag: paper-1.21.8
|
||||
working_dir: /opt/server
|
||||
ports:
|
||||
- port: 25565
|
||||
protocol: TCP
|
||||
|
||||
init_script:
|
||||
image: alpine:latest
|
||||
command:
|
||||
- /bin/sh
|
||||
args:
|
||||
- /bin/sh
|
||||
- "-c"
|
||||
- "echo eula=true >> /data/eula.txt"
|
Reference in New Issue
Block a user