From b6cf5b7067ae60566e6b6ecb0ce3eb8c0ce2bf03 Mon Sep 17 00:00:00 2001 From: rito528 <39003544+rito528@users.noreply.github.com> Date: Tue, 5 Mar 2024 01:48:35 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=E3=82=B5=E3=83=BC=E3=83=90=E3=83=BC?= =?UTF-8?q?=E4=B8=8A=E3=81=AB=E3=81=82=E3=82=8B=E3=83=97=E3=83=A9=E3=82=B0?= =?UTF-8?q?=E3=82=A4=E3=83=B3=E3=82=92=E6=B6=88=E3=81=99=E3=82=B3=E3=83=B3?= =?UTF-8?q?=E3=83=86=E3=83=8A=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mcserver--debug-s1/stateful-set.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mcserver--debug-s1/stateful-set.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mcserver--debug-s1/stateful-set.yaml index aba4966f1..1643ac29d 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mcserver--debug-s1/stateful-set.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mcserver--debug-s1/stateful-set.yaml @@ -28,6 +28,15 @@ spec: - "sh" - "-c" - 'wget -O /root/jmx-exporter-download/jmx-exporter-javaagent.jar "${JMX_EXPORTER_URL}"' + - name: delete-jars + image: busybox:1.36.1 + volumeMounts: + - name: minecraft-server-data + mountPath: /data + command: + - "sh" + - "-c" + - "rm -rf /data/plugins/*.jar" - name: mod-downloader image: ghcr.io/giganticminecraft/mod-downloader:sha-ac8ba5c env: