mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-26 09:05:06 +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:
parent
e5db8cb9b5
commit
5343fa70a4
@ -35,6 +35,7 @@ spec:
|
||||
volumeMounts:
|
||||
- name: postgres-data
|
||||
mountPath: /var/lib/postgresql/data
|
||||
subPath: pgdata
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: postgres-data
|
||||
@ -55,4 +56,4 @@ spec:
|
||||
- name: postgres
|
||||
port: 5432
|
||||
targetPort: postgres
|
||||
clusterIP: None
|
||||
clusterIP: None
|
||||
|
Loading…
x
Reference in New Issue
Block a user