working with images
This commit is contained in:
@@ -4,6 +4,20 @@ metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: kubernetes-operator
|
||||
app.kubernetes.io/managed-by: kustomize
|
||||
name: image-sample
|
||||
name: minecraft-paper-1-21-4
|
||||
spec:
|
||||
# TODO(user): Add fields here
|
||||
location: git.acooldomain.co/server-manager/minecraft:paper-1.21.4
|
||||
name: minecraft:paper-1.21.4
|
||||
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"
|
||||
|
@@ -11,8 +11,7 @@ spec:
|
||||
"on": true
|
||||
server:
|
||||
"on": true
|
||||
image: git.acooldomain.co/server-manager/minecraft:paper-1.21.4
|
||||
working_dir: /opt/server
|
||||
image: minecraft-paper-1-21-4
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 25565
|
||||
|
Reference in New Issue
Block a user