From b4b966c63d903899a0287486b330fa7f2cfd868d Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Tue, 31 Dec 2024 12:07:10 +1100 Subject: [PATCH] Minecraft refactor --- .../application-minecraft-bedrock.yaml | 20 +++++++++++++++++++ .../{chart-values.yaml => values.yaml} | 5 +++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 services/Minecraft/application-minecraft-bedrock.yaml rename services/Minecraft/{chart-values.yaml => values.yaml} (76%) diff --git a/services/Minecraft/application-minecraft-bedrock.yaml b/services/Minecraft/application-minecraft-bedrock.yaml new file mode 100644 index 0000000..0e53df0 --- /dev/null +++ b/services/Minecraft/application-minecraft-bedrock.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: minecraft-bedrock + namespace: argo-cd +spec: + destination: + server: https://kubernetes.default.svc + namespace: minecraft + project: default + sources: + - repoURL: https://itzg.github.io/minecraft-server-charts/ + chart: minecraft-bedrock + targetRevision: 2.8.2 + helm: + valueFiles: + - $values/services/Minecraft/values.yaml + - repoURL: https://code.spamasaurus.com/djpbessems/Kubernetes.K3s.installLog + targetRevision: master + ref: values diff --git a/services/Minecraft/chart-values.yaml b/services/Minecraft/values.yaml similarity index 76% rename from services/Minecraft/chart-values.yaml rename to services/Minecraft/values.yaml index d5e5abf..e1e424d 100644 --- a/services/Minecraft/chart-values.yaml +++ b/services/Minecraft/values.yaml @@ -5,12 +5,13 @@ minecraftServer: serviceType: LoadBalancer loadBalancerIP: 192.168.154.240 - ops: 2533274801327950 + cheats: true + + ops: "2533274801327950" persistence: storageClass: "smb-csi" dataDir: - # Set this to false if you don't care to persist state between restarts. enabled: true Size: 1Gi accessModes: