From 7d7beb2330a62618497572da521231eccffa9b15 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 +- .../zipline/postgres/zipline-postgres-statefulset.yaml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/applications/immich/postgres/immich-postgres-statefulset.yaml b/applications/immich/postgres/immich-postgres-statefulset.yaml index d729841..c859e78 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/postgresql/data env: - name: POSTGRES_PASSWORD valueFrom: diff --git a/applications/zipline/postgres/zipline-postgres-statefulset.yaml b/applications/zipline/postgres/zipline-postgres-statefulset.yaml index d906bf3..983fc32 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/postgresql/data env: - name: POSTGRES_PASSWORD valueFrom: @@ -47,8 +47,6 @@ spec: secretKeyRef: name: zipline-secrets key: db_name - - name: PGDATA - value: /var/lib/postgresql/volumes/pgdata volumes: - name: zipline-postgresql-database persistentVolumeClaim: