minecraft-helmfile/values.yaml

159 lines
3.8 KiB
YAML
Raw Permalink Normal View History

---
# --------------------------------------------------
# -- Extensions values
# --------------------------------------------------
service-account:
enabled: true
resources:
- name: minecraft-exporter
label:
app: minecraft-minecraft-metrics
endpoints:
port: metrics
# ------------------------------------------
# -- Istio extenstion. Just because I'm
# -- not using ingress nginx
# ------------------------------------------
2024-06-02 13:44:16 +00:00
traefik:
enabled: true
2024-06-02 13:44:16 +00:00
tcpRoutes:
- name: minecraft-tcp
2024-06-02 13:44:16 +00:00
entrypoint: minecraft
gateway: istio-system/badhouseplants-minecraft
2024-06-02 13:44:16 +00:00
match: HostSNI(`*`)
service: minecraft-minecraft
port: 25565
# --------------------------------------------------
# -- Main values
# --------------------------------------------------
image:
2024-06-03 18:59:12 +00:00
#tag: java17-graalvm
pullPolicy: Always
resources:
requests:
memory: 3Gi
cpu: 256m
limits:
memory: 3Gi
2024-06-03 18:59:12 +00:00
#lifecycle:
# postStart:
# - bash
# - -c
# - for i in {1..100}; do mc-health && break || sleep 20; done && rcon-cli setpassword 11223345
readinessProbe:
command:
- mc-health
periodSeconds: 20
failureThreshold: 50
timeoutSeconds: 10
livenessProbe:
timeoutSeconds: 10
minecraftServer:
overrideServerProperties: true
eula: "TRUE"
onlineMode: false
difficulty: hard
2024-06-03 18:59:12 +00:00
hardcore: false
version: 1.20.1
maxWorldSize: 90000
2024-06-03 18:59:12 +00:00
type: "FORGE"
forgeInstallerUrl: https://maven.minecraftforge.net/net/minecraftforge/forge/1.20.2-48.1.0/forge-1.20.2-48.1.0-installer.jar
paperDownloadUrl: https://api.papermc.io/v2/projects/paper/versions/1.20.1/builds/170/downloads/paper-1.20.1-170.jar
gameMode: survival
pvp: true
rcon:
enabled: true
withGeneratedPassword: false
port: 25575
serviceType: ClusterIP
extraPorts:
- name: metrics
containerPort: 9225
protocol: TCP
service:
enabled: true
embedded: false
labels:
exporter: minecraft
type: ClusterIP
port: 9925
ingress:
enabled: false
persistence:
dataDir:
enabled: true
Size: 15Gi
mcbackup:
enabled: false
backupInterval: 2h
pauseIfNoPlayers: "false"
pruneBackupsDays: 2
rconRetries: 5
rconRetryInterval: 10s
excludes: "*.jar,cache,logs"
backupMethod: restic
resticRepository: s3:https://s3.e.badhouseplants.net:443/restic/minecraft
resticAdditionalTags: "mc_backups"
pruneResticRetention: "--keep-last 12 --keep-daily 1 --keep-weekly 2 --keep-monthly 2 --keep-yearly 2"
resources:
requests:
memory: 512Mi
cpu: 100m
persistence:
backupDir:
enabled: false
# ---------------------------------------------
# -- Install Plugins
# ---------------------------------------------
initContainers:
2024-06-03 18:59:12 +00:00
- name: 0-install-create-plugin
image: alpine/curl
command:
- curl
- -L
2024-06-03 18:59:12 +00:00
- "https://www.curseforge.com/api/v1/mods/328085/files/4835191/download"
- -o
2024-06-03 18:59:12 +00:00
- /data/mods/create.jar
volumeMounts:
- name: plugins
2024-06-03 18:59:12 +00:00
mountPath: /data/mods
readOnly: false
2024-06-03 18:59:12 +00:00
- name: 0-install-vic-plugin
image: alpine/curl
command:
- curl
- -L
2024-06-03 18:59:12 +00:00
- https://www.curseforge.com/api/v1/mods/961053/files/5367445/download
- -o
2024-06-03 18:59:12 +00:00
- /data/mods/vic.jar
volumeMounts:
- name: plugins
2024-06-03 18:59:12 +00:00
mountPath: /data/mods
readOnly: false
2024-06-03 18:59:12 +00:00
- name: 0-install-gecko-plugin
image: alpine/curl
command:
- curl
- -L
2024-06-03 18:59:12 +00:00
- https://www.curseforge.com/api/v1/mods/388172/files/5386950/download
- -o
2024-06-03 18:59:12 +00:00
- /data/mods/geckolib.jar
volumeMounts:
- name: plugins
2024-06-03 18:59:12 +00:00
mountPath: /data/mods
readOnly: false
2024-06-03 18:59:12 +00:00
extraVolumes:
- volumeMounts:
- name: plugins
2024-06-03 18:59:12 +00:00
mountPath: /data/mods
readOnly: false
volumes:
- name: plugins
emptyDir:
sizeLimit: 500Mi