fix: point postgres PGDATA at the actual mounted PVC for zipline and immich

This commit is contained in:
2026-08-02 12:53:33 +02:00
parent 37737670b5
commit 7d7beb2330
2 changed files with 2 additions and 4 deletions
@@ -30,7 +30,7 @@ spec:
- containerPort: 5432 - containerPort: 5432
volumeMounts: volumeMounts:
- name: immich-postgresql-immich - name: immich-postgresql-immich
mountPath: /var/lib/postgresql/pgdata mountPath: /var/lib/postgresql/data
env: env:
- name: POSTGRES_PASSWORD - name: POSTGRES_PASSWORD
valueFrom: valueFrom:
@@ -30,7 +30,7 @@ spec:
- containerPort: 5432 - containerPort: 5432
volumeMounts: volumeMounts:
- name: zipline-postgresql-database - name: zipline-postgresql-database
mountPath: /var/lib/postgresql/volumes/data mountPath: /var/lib/postgresql/data
env: env:
- name: POSTGRES_PASSWORD - name: POSTGRES_PASSWORD
valueFrom: valueFrom:
@@ -47,8 +47,6 @@ spec:
secretKeyRef: secretKeyRef:
name: zipline-secrets name: zipline-secrets
key: db_name key: db_name
- name: PGDATA
value: /var/lib/postgresql/volumes/pgdata
volumes: volumes:
- name: zipline-postgresql-database - name: zipline-postgresql-database
persistentVolumeClaim: persistentVolumeClaim: