mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Fix for eikek/docspell#2498. Added subPath to volume mount for postgres statefulset to make sure no conflicts happen on startup.
This commit is contained in:
@ -35,6 +35,7 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: postgres-data
|
- name: postgres-data
|
||||||
mountPath: /var/lib/postgresql/data
|
mountPath: /var/lib/postgresql/data
|
||||||
|
subPath: pgdata
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- metadata:
|
- metadata:
|
||||||
name: postgres-data
|
name: postgres-data
|
||||||
@ -55,4 +56,4 @@ spec:
|
|||||||
- name: postgres
|
- name: postgres
|
||||||
port: 5432
|
port: 5432
|
||||||
targetPort: postgres
|
targetPort: postgres
|
||||||
clusterIP: None
|
clusterIP: None
|
||||||
|
Reference in New Issue
Block a user