Skip to content

Commit

Permalink
Merge pull request #1574 from GiganticMinecraft/add_s1_world
Browse files Browse the repository at this point in the history
Add S1 world
  • Loading branch information
outductor authored Dec 21, 2023
2 parents 6f57af4 + 628213c commit ae5df09
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -251,6 +263,9 @@ spec:
- name: mod-downloader-volume
mountPath: /plugins

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

volumes:
- name: common-mcserver-configs
configMap:
Expand All @@ -275,3 +290,7 @@ spec:
# mod-downloaderからプラグインをinitContainerでダウンロードしてBugneeCordに受け渡すためのvolume
- name: mod-downloader-volume
emptyDir: {}

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

0 comments on commit ae5df09

Please sign in to comment.