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
|
- containerPort: 5432
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: immich-postgresql-immich
|
- name: immich-postgresql-immich
|
||||||
mountPath: /var/lib/postgresql/pgdata
|
mountPath: /var/lib/postgres
|
||||||
env:
|
env:
|
||||||
- name: POSTGRES_PASSWORD
|
- name: POSTGRES_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@@ -47,6 +47,8 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: immich-secrets
|
name: immich-secrets
|
||||||
key: db_name
|
key: db_name
|
||||||
|
- name: PGDATA
|
||||||
|
value: /var/lib/postgres/data
|
||||||
volumes:
|
volumes:
|
||||||
- name: immich-postgresql-immich
|
- name: immich-postgresql-immich
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|||||||
@@ -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/postgres
|
||||||
env:
|
env:
|
||||||
- name: POSTGRES_PASSWORD
|
- name: POSTGRES_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@@ -48,7 +48,7 @@ spec:
|
|||||||
name: zipline-secrets
|
name: zipline-secrets
|
||||||
key: db_name
|
key: db_name
|
||||||
- name: PGDATA
|
- name: PGDATA
|
||||||
value: /var/lib/postgresql/volumes/pgdata
|
value: /var/lib/postgres/data
|
||||||
volumes:
|
volumes:
|
||||||
- name: zipline-postgresql-database
|
- name: zipline-postgresql-database
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|||||||
Reference in New Issue
Block a user