add subPath to volumeMount postgres-data

This commit is contained in:
xring 2026-04-30 23:11:18 +08:00
parent ebe7db36be
commit a0d0738faa

View file

@ -37,6 +37,7 @@ spec:
volumeMounts:
- name: postgres-data
mountPath: /var/lib/postgresql/data
subPath: pgdata
readinessProbe:
exec:
command: