Skip to content

Commit

Permalink
stop importing world
Browse files Browse the repository at this point in the history
  • Loading branch information
outductor committed Dec 24, 2023
1 parent 5bc7f17 commit eb3b3d3
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 eb3b3d3

Please sign in to comment.