From 39f8a783065f5ee2fe2fec9bea1dfe1df5bac141 Mon Sep 17 00:00:00 2001 From: Jeffrey Smeets Date: Sun, 2 Aug 2026 11:52:22 +0200 Subject: [PATCH] fix: point postgres PGDATA at the actual mounted PVC for zipline and immich --- applications/immich/postgres/immich-postgres-statefulset.yaml | 4 +++- .../zipline/postgres/zipline-postgres-statefulset.yaml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/applications/immich/postgres/immich-postgres-statefulset.yaml b/applications/immich/postgres/immich-postgres-statefulset.yaml index d729841..407b1d0 100644 --- a/applications/immich/postgres/immich-postgres-statefulset.yaml +++ b/applications/immich/postgres/immich-postgres-statefulset.yaml @@ -30,7 +30,7 @@ spec: - containerPort: 5432 volumeMounts: - name: immich-postgresql-immich - mountPath: /var/lib/postgresql/pgdata + mountPath: /var/lib/postgres env: - name: POSTGRES_PASSWORD valueFrom: @@ -47,6 +47,8 @@ spec: secretKeyRef: name: immich-secrets key: db_name + - name: PGDATA + value: /var/lib/postgres/data volumes: - name: immich-postgresql-immich persistentVolumeClaim: diff --git a/applications/zipline/postgres/zipline-postgres-statefulset.yaml b/applications/zipline/postgres/zipline-postgres-statefulset.yaml index d906bf3..870bb12 100644 --- a/applications/zipline/postgres/zipline-postgres-statefulset.yaml +++ b/applications/zipline/postgres/zipline-postgres-statefulset.yaml @@ -30,7 +30,7 @@ spec: - containerPort: 5432 volumeMounts: - name: zipline-postgresql-database - mountPath: /var/lib/postgresql/volumes/data + mountPath: /var/lib/postgres env: - name: POSTGRES_PASSWORD valueFrom: @@ -48,7 +48,7 @@ spec: name: zipline-secrets key: db_name - name: PGDATA - value: /var/lib/postgresql/volumes/pgdata + value: /var/lib/postgres/data volumes: - name: zipline-postgresql-database persistentVolumeClaim: