From 870f2e30e7191ff4ff8c8fd62488fb8ffff12f0d 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 | 2 ++ applications/zipline/postgres/zipline-postgres-statefulset.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/immich/postgres/immich-postgres-statefulset.yaml b/applications/immich/postgres/immich-postgres-statefulset.yaml index d729841..cae445e 100644 --- a/applications/immich/postgres/immich-postgres-statefulset.yaml +++ b/applications/immich/postgres/immich-postgres-statefulset.yaml @@ -47,6 +47,8 @@ spec: secretKeyRef: name: immich-secrets key: db_name + - name: PGDATA + value: /var/lib/postgresql/pgdata/pgdata 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..c0255e8 100644 --- a/applications/zipline/postgres/zipline-postgres-statefulset.yaml +++ b/applications/zipline/postgres/zipline-postgres-statefulset.yaml @@ -48,7 +48,7 @@ spec: name: zipline-secrets key: db_name - name: PGDATA - value: /var/lib/postgresql/volumes/pgdata + value: /var/lib/postgresql/volumes/data/pgdata volumes: - name: zipline-postgresql-database persistentVolumeClaim: