fix: point postgres PGDATA at the actual mounted PVC for zipline and immich
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user