From 36836e2e3da821495b4b148647b2119b05ec71ac Mon Sep 17 00:00:00 2001 From: outductor Date: Fri, 22 Dec 2023 02:55:09 +0900 Subject: [PATCH] add portal config --- .../debug-lobby/bungee-portals-config.yaml | 18 ++++++++++++++++++ .../templates/debug-lobby/lobby-server.yaml | 8 ++++++++ 2 files changed, 26 insertions(+) create mode 100644 seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/bungee-portals-config.yaml diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/bungee-portals-config.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/bungee-portals-config.yaml new file mode 100644 index 000000000..3ed237287 --- /dev/null +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/bungee-portals-config.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: bungee-portals-config +data: + portal.yml: | + world#-2#68#0: debug-pr-{{ .Values.SeichiAssistPullRequestNumber }}-s1 + world#-2#68#1: debug-pr-{{ .Values.SeichiAssistPullRequestNumber }}-s1 + world#-2#69#0: debug-pr-{{ .Values.SeichiAssistPullRequestNumber }}-s1 + world#-2#69#1: debug-pr-{{ .Values.SeichiAssistPullRequestNumber }}-s1 + world#-1#69#0: debug-pr-{{ .Values.SeichiAssistPullRequestNumber }}-s1 + world#-1#69#1: debug-pr-{{ .Values.SeichiAssistPullRequestNumber }}-s1 + world#-1#68#1: debug-pr-{{ .Values.SeichiAssistPullRequestNumber }}-s1 + world#-1#68#0: debug-pr-{{ .Values.SeichiAssistPullRequestNumber }}-s1 + world#-1#70#1: debug-pr-{{ .Values.SeichiAssistPullRequestNumber }}-s1 + world#-1#70#0: debug-pr-{{ .Values.SeichiAssistPullRequestNumber }}-s1 + world#-2#70#0: debug-pr-{{ .Values.SeichiAssistPullRequestNumber }}-s1 + world#-2#70#1: debug-pr-{{ .Values.SeichiAssistPullRequestNumber }}-s1 diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml index 6f0c51941..0b1b6ec59 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml @@ -221,6 +221,11 @@ spec: mountPath: /jmx-exporter/jmx-exporter-config.yaml subPath: jmx-exporter-config.yaml + # BungeePortals プラグインの設定ファイル + - name: bungee-portals-config + mountPath: /plugins/BungeePortals/portal.yml + subPath: portal.yml + - name: mod-downloader-volume mountPath: /plugins @@ -237,6 +242,9 @@ spec: - name: minecraft-ops-config configMap: name: minecraft-ops-config + - name: bungee-portals-config + configMap: + name: bungee-portals-config # JMX exporterをinitContainerでダウンロードしてBugneeCordに受け渡すためのvolume - name: jmx-exporter-download-volume