From 1da2157165994433b3e4f662ee36a28a839a655a Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Tue, 6 Aug 2024 23:06:31 +0200 Subject: [PATCH] Fix minecraft --- installations/system/helmfile.yaml | 8 ++++++++ .../values.local-path-provisioner.yaml | 8 +++----- values/badhouseplants/values.minecraft.yaml | 12 +++++++++--- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/installations/system/helmfile.yaml b/installations/system/helmfile.yaml index 1a589e4..4ad0030 100644 --- a/installations/system/helmfile.yaml +++ b/installations/system/helmfile.yaml @@ -24,6 +24,8 @@ repositories: url: https://piraeus.io/helm-charts/ - name: vmware-tanzu url: https://vmware-tanzu.github.io/helm-charts/ + - name: local-path-provisioner + url: git+https://github.com/rancher/local-path-provisioner@deploy/chart?ref=v0.0.28 releases: - name: namespaces chart: '{{ requiredEnv "PWD" }}/charts/namespaces/chart' @@ -131,3 +133,9 @@ releases: - template: default-env-values - template: default-env-secrets + - name: local-path-provisioner + chart: local-path-provisioner/local-path-provisioner + createNamespace: false + namespace: kube-system + inherit: + - template: default-env-values diff --git a/values/badhouseplants/values.local-path-provisioner.yaml b/values/badhouseplants/values.local-path-provisioner.yaml index 690a5bc..95dd553 100644 --- a/values/badhouseplants/values.local-path-provisioner.yaml +++ b/values/badhouseplants/values.local-path-provisioner.yaml @@ -1,8 +1,6 @@ storageClass: create: true - defaultClass: false + defaultClass: true defaultVolumeType: local -nodePathMap: - - node: DEFAULT_PATH_FOR_NON_LISTED_NODES - paths: - - /mnt/k8s-storage + reclaimPolicy: Delete + volumeBindingMode: Immediate diff --git a/values/badhouseplants/values.minecraft.yaml b/values/badhouseplants/values.minecraft.yaml index e35ff88..d87019c 100644 --- a/values/badhouseplants/values.minecraft.yaml +++ b/values/badhouseplants/values.minecraft.yaml @@ -69,12 +69,18 @@ minecraftServer: eula: "TRUE" onlineMode: false difficulty: hard - hardcore: false + hardcore: true version: "1.20.1" maxWorldSize: 90000 type: "PAPER" - gameMode: creative + gameMode: survival pvp: true + pluginUrls: + - https://github.com/dmulloy2/ProtocolLib/releases/download/5.2.0/ProtocolLib.jar + - https://mediafilez.forgecdn.net/files/3789/833/GravityControl-2.0.0.jar + - https://mediafilez.forgecdn.net/files/3151/915/CrackShot.jar + - https://s3.badhouseplants.net/public-download/MechanicsCore-3.4.8.jar + - https://s3.badhouseplants.net/public-download/WeaponMechanics-3.4.9.jar rcon: enabled: true withGeneratedPassword: false @@ -94,7 +100,7 @@ minecraftServer: ingress: enabled: false persistence: - storageClass: ceph-filesystem + storageClass: longhorn #storageClass: local-path dataDir: enabled: true