diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/mariadb.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/mariadb.yaml index b1371aa8d..2f6a98cc2 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/mariadb.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/mariadb.yaml @@ -97,6 +97,17 @@ spec: volumeMounts: - mountPath: /docker-entrypoint-initdb.d name: sqldump-volume + - name: create-db-for-plugins + image: busybox:1.36.1 + imagePullPolicy: IfNotPresent + args: + - sh + - -c + - | + echo 'CREATE DATABASE IF NOT EXISTS luckperms;' > /docker-entrypoint-initdb.d/create-db.sql + volumeMounts: + - mountPath: /docker-entrypoint-initdb.d + name: sqldump-volume restartPolicy: Always volumes: - name: storage