diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index d9886a4f2..7759f5848 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -57,6 +57,18 @@ spec: volumeMounts: - name: mod-downloader-volume mountPath: /plugins + - name: world-downloader + image: busybox:1.36.1 + env: + - name: WORLD_URL # S1からインポートしてきたワールドデータ + value: "http://seichi-private-plugin-blackhole-minio.minio:9000/seichi-plugins/world.tar.gz" + volumeMounts: + - name: world-download-volume + mountPath: /data + command: + - "sh" + - "-c" + - 'wget -qO- "${WORLD_URL}" | tar -xz -C /data' containers: - resources: @@ -251,6 +263,9 @@ spec: - name: mod-downloader-volume mountPath: /plugins + - name: world-download-volume + mountPath: /data/world + volumes: - name: common-mcserver-configs configMap: @@ -275,3 +290,7 @@ spec: # mod-downloaderからプラグインをinitContainerでダウンロードしてBugneeCordに受け渡すためのvolume - name: mod-downloader-volume emptyDir: {} + + # S1から取ってきたワールドデータをぶちこむボリューム + - name: world-download-volume + emptyDir: {}