Remove minecraft for now
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8af7a5fe77
commit
98b0ab417b
@ -1,12 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: minecraft-data-pvc
|
|
||||||
namespace: games-ns
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
storageClassName: longhorn
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 16Gi
|
|
@ -1,95 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: minecraft
|
|
||||||
namespace: games-ns
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: games
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: games
|
|
||||||
spec:
|
|
||||||
#initContainers:
|
|
||||||
#- name: modpack-downloader
|
|
||||||
# image: alpine:latest
|
|
||||||
# volumeMounts:
|
|
||||||
# - name: minecraft-modpacks
|
|
||||||
# mountPath: /modpacks
|
|
||||||
# env:
|
|
||||||
# - name: MODPACK_URL
|
|
||||||
# value: "https://s3.clortox.com/minecraft-modpacks/modpack-latest.zip"
|
|
||||||
# command: ["/bin/sh"]
|
|
||||||
# args:
|
|
||||||
# - "-c"
|
|
||||||
# - |
|
|
||||||
# rm -rf /modpacks/*
|
|
||||||
# wget -O /modpacks/modpack.zip "$MODPACK_URL"
|
|
||||||
containers:
|
|
||||||
- name: minecraft
|
|
||||||
image: itzg/minecraft-server
|
|
||||||
env:
|
|
||||||
- name: EULA
|
|
||||||
value: "TRUE"
|
|
||||||
- name: ENABLE_RCON
|
|
||||||
value: "TRUE"
|
|
||||||
- name: RCON_PORT
|
|
||||||
value: "28016"
|
|
||||||
- name: MEMORY
|
|
||||||
value: "8G"
|
|
||||||
- name: USE_AIKAR_FLAGS
|
|
||||||
value: "false"
|
|
||||||
- name: ENABLE_ROLLING_LOGS
|
|
||||||
value: "false"
|
|
||||||
- name: TZ
|
|
||||||
value: "America/New_York"
|
|
||||||
|
|
||||||
- name: VERSION
|
|
||||||
value: "1.12.2"
|
|
||||||
- name: GENERIC_PACK
|
|
||||||
value: "https://s3.clortox.com/minecraft-modpacks/modpack-latest.zip"
|
|
||||||
- name: REMOVE_OLD_MODS
|
|
||||||
value: "TRUE"
|
|
||||||
#- name: TYPE
|
|
||||||
# value: "CURSEFORGE"
|
|
||||||
#- name: CF_SERVER_MOD
|
|
||||||
# value: "/modpacks/modpack.zip"
|
|
||||||
|
|
||||||
#- name: USE_MODPACK_START_SCRIPT
|
|
||||||
# value: "true"
|
|
||||||
#- name: FTB_LEGACYJAVAFIXER
|
|
||||||
# value: "true"
|
|
||||||
|
|
||||||
- name: ICON
|
|
||||||
value: "https://s3.clortox.com/minecraft-modpacks/server-icon.png"
|
|
||||||
- name: OVERRIDE_ICON
|
|
||||||
value: "TRUE"
|
|
||||||
- name: MOTD
|
|
||||||
value: "Lol. Lmao Even."
|
|
||||||
- name: MAX_PLAYERS
|
|
||||||
value: "50"
|
|
||||||
- name: SPAWN_PROTECTION
|
|
||||||
value: "0"
|
|
||||||
- name: DIFFICULTY
|
|
||||||
value: "hard"
|
|
||||||
- name: OPS
|
|
||||||
value: "Gritos_Internos"
|
|
||||||
- name: ALLOW_FLIGHT
|
|
||||||
value: "TRUE"
|
|
||||||
ports:
|
|
||||||
- containerPort: 25565
|
|
||||||
- containerPort: 28016
|
|
||||||
volumeMounts:
|
|
||||||
- name: minecraft-data
|
|
||||||
mountPath: /data
|
|
||||||
- name: minecraft-modpacks
|
|
||||||
mountPath: /modpacks
|
|
||||||
volumes:
|
|
||||||
- name: minecraft-data
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: minecraft-data-pvc
|
|
||||||
- name: minecraft-modpacks
|
|
||||||
emptyDir: {}
|
|
Loading…
Reference in New Issue
Block a user