Closed arbulu89 closed 2 years ago
This is already enabled by default by the bitnami helm chart, it actually works on my machine :D
This is already enabled by default by the bitnami helm chart, it actually works on my machine :D
We already commented in other thread, but I think this pvc don't create permanent mounts, so when the machine hosting k3s is rebooted, the data is lost. Here some links on what bitnami says to enable persistence layer: https://github.com/bitnami/charts/tree/master/bitnami/postgresql/#persistence https://github.com/bitnami/bitnami-docker-postgresql#persisting-your-database
Closing. The issue looks something else when custom db image is used
Add persistence to postgresql database, as by now, all the data is lost in machine reboot.
The implementation adds a permanent volume and permanent volume claim, together with some small changes in the values usage.
Unfortunately, I have not found the way to use the globals mountPath in the postgresql values (the value is duplicated) as the bitnami chart doesn't run template rendering