diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mcserver--debug-s1/seichiassist-config.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mcserver--debug-s1/seichiassist-config.yaml index 2e96d4a5c..fdf74f5c8 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mcserver--debug-s1/seichiassist-config.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mcserver--debug-s1/seichiassist-config.yaml @@ -12,7 +12,7 @@ data: port: '3306' db: 'seichiassist' id: 'root' - pw: '' + pw: '${CFG_SEICHIASSIST_MYSQL_ROOT_PASSWORD}' # サーバ識別設定 # 複数サーバ構成にする場合はこの値をサーバごとに変更します diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mcserver--debug-s1/stateful-set.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mcserver--debug-s1/stateful-set.yaml index f9760b964..aba4966f1 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mcserver--debug-s1/stateful-set.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mcserver--debug-s1/stateful-set.yaml @@ -123,6 +123,12 @@ spec: - name: CFG_DISCORDSRV_CONSOLE_CHANNEL_ID value: "1054159676964622426" + - name: CFG_SEICHIASSIST_MYSQL_ROOT_PASSWORD + valueFrom: + secretKeyRef: + name: mariadb + key: root-password + - name: RCON_CMDS_STARTUP value: |- mv create world_SW NORMAL