From 5954d8bb30a0d1240bafc58cb00ccd25a28efb6c Mon Sep 17 00:00:00 2001 From: outductor Date: Sun, 17 Dec 2023 19:41:11 +0900 Subject: [PATCH] add ops.json in debug server --- .../templates/debug-s1/ops-config.yaml | 38 +++++++++++++++++++ .../templates/debug-s1/seichiassist.yaml | 6 +++ 2 files changed, 44 insertions(+) create mode 100644 seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/ops-config.yaml diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/ops-config.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/ops-config.yaml new file mode 100644 index 000000000..862beefb9 --- /dev/null +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/ops-config.yaml @@ -0,0 +1,38 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: minecraft-ops-config +data: + ops.json: | + [ + { + "uuid": "0ea34656-b1c7-45c0-8b89-1ec55a70fe17", + "name": "Lucky3028", + "level": 4, + "bypassesPlayerLimit": false + }, + { + "uuid": "0e117246-6d1c-46f1-b4f3-4310b9fbfedb", + "name": "galapon", + "level": 4, + "bypassesPlayerLimit": false + }, + { + "uuid": "89f9b874-8303-4605-b45b-c271ab6d6a89", + "name": "Kory3", + "level": 4, + "bypassesPlayerLimit": false + }, + { + "uuid": "b66cc3f6-a045-42ad-b4b8-320f20caf140", + "name": "unchama", + "level": 4, + "bypassesPlayerLimit": false + }, + { + "uuid": "e1ee55bb-c993-4896-88e9-9893a11df27a", + "name": "rito_5289", + "level": 4, + "bypassesPlayerLimit": false + } + ] 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 65c9c310f..f8490f956 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 @@ -159,6 +159,9 @@ spec: - name: common-mcserver-configs mountPath: /config/spigot.yml subPath: spigot.yml + - name: minecraft-ops-config + mountPath: /config/ops.json + subPath: ops.json # DiscordSRV プラグインの設定ファイル - name: common-mcserver-plugin-configs @@ -204,6 +207,9 @@ spec: - name: seichiassist-config configMap: name: seichiassist-config + - name: minecraft-ops-config + configMap: + name: minecraft-ops-config # JMX exporterをinitContainerでダウンロードしてBugneeCordに受け渡すためのvolume - name: jmx-exporter-download-volume