Change postgres mount dir and pgdata to make persistent data work
All threads resolved!
All threads resolved!
Updated postgres mount path and pgdata dir to support persistent data
Merge request reports
Activity
mentioned in issue #26 (closed)
@twk3 Thoughts on this?
- Resolved by username-removed-1216309
One comment, but otherwise looks good.
This fixes the problem that existed where:
-
/var/lib/postgres
was our persistent storage -
/var/lib/postgres/data
was listed as a volume in the postgres dockerfile, and was mounted as a non-persistent volume - resulted in the data dir being lost, and our persistent volume not having any content to persist (because the data dir was just a mount within it)
-
added 1 commit
- 9a9b5e37 - Per merge discussion, moving PGDATA out of config map and defining in deployment manifest
mentioned in commit 0c36b916
Please register or sign in to reply