From 87fb1d6221f62d5850d963f77018cf2d9eb01a4c Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Wed, 10 Dec 2025 07:47:09 +0100 Subject: [PATCH] feat(database): add banking database and update mount path adds a new database named banking to the PostgreSQL initialization script and modifies the mount path for PostgreSQL data to improve compatibility with volume management practices. --- kind/postgres.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kind/postgres.yaml b/kind/postgres.yaml index 0ac3d2a..861bb25 100644 --- a/kind/postgres.yaml +++ b/kind/postgres.yaml @@ -19,6 +19,7 @@ data: psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL CREATE DATABASE schemas WITH OWNER postgres ENCODING utf8; CREATE DATABASE accounting WITH OWNER postgres ENCODING utf8; + CREATE DATABASE banking WITH OWNER postgres ENCODING utf8; CREATE DATABASE authz WITH OWNER postgres ENCODING utf8; CREATE DATABASE company WITH OWNER postgres ENCODING utf8; CREATE DATABASE consumer WITH OWNER postgres ENCODING utf8; @@ -78,7 +79,7 @@ spec: value: --locale-provider=icu --icu-locale=sv-SE volumeMounts: - name: data - mountPath: /var/lib/postgresql/data + mountPath: /var/lib/postgresql - mountPath: /docker-entrypoint-initdb.d/initdb.sh name: initdb subPath: initdb.sh