Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated image in deployment-db manifest can potentially lead to data loss for k8s setup #9431

Open
david-sykora opened this issue Jan 7, 2025 · 2 comments

Comments

@david-sykora
Copy link
Contributor

Bug Description

Recently there has been a transition from using twentycrm/twenty-postgres to twentycrm/twenty-postgres-spilo. The mount path has been changed, but the image for k8s db deployment has not been changed. The old image uses the data path /bitnami/postgresql and the new one /home/postgres/pgdata. This leads to postgres data being stored in a directory that is not persistent - as I could have found out the hard way.

Expected behavior

The data should be stored in a directory that is mounted

Possible solution

It should be enough to modify the deployment-db manifest image

@BOHEUS
Copy link
Contributor

BOHEUS commented Jan 7, 2025

@david-sykora that's because k8s files are maintained by the community as it's described here in docs so it's possible that community maintainer didn't have time to adjust them to newest changes, if you know how to fix them, feel free to create a PR

@david-sykora
Copy link
Contributor Author

Hi @BOHEUS! I opened a pull request that addresses the problems in this issue #9447

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants