Skip to content

Commit

Permalink
Merge pull request #1612 from GiganticMinecraft/stop_importing_world
Browse files Browse the repository at this point in the history
stop importing world
  • Loading branch information
outductor authored Dec 24, 2023
2 parents 5bc7f17 + eb3b3d3 commit 06f20ca
Showing 1 changed file with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,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-data/s1/world.tar.gz"
volumeMounts:
- name: world-download-volume
mountPath: /data
command:
- "sh"
- "-c"
- 'echo "start downloading world data" && wget -qO- "${WORLD_URL}" | tar -xz -C /data && echo "successfully imported world data"'
# - 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-data/s1/world.tar.gz"
# volumeMounts:
# - name: world-download-volume
# mountPath: /data
# command:
# - "sh"
# - "-c"
# - 'echo "start downloading world data" && wget -qO- "${WORLD_URL}" | tar -xz -C /data && echo "successfully imported world data"'
containers:
- resources:
requests:
Expand Down Expand Up @@ -317,8 +317,8 @@ spec:
- name: mod-downloader-volume
mountPath: /plugins

- name: world-download-volume
mountPath: /data
# - name: world-download-volume
# mountPath: /data

volumes:
- name: common-mcserver-configs
Expand Down Expand Up @@ -348,6 +348,6 @@ spec:
- name: mod-downloader-volume
emptyDir: {}

# S1から取ってきたワールドデータをぶちこむボリューム
- name: world-download-volume
emptyDir: {}
# # S1から取ってきたワールドデータをぶちこむボリューム
# - name: world-download-volume
# emptyDir: {}

0 comments on commit 06f20ca

Please sign in to comment.