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

Prostgres container should have a persistent volume #192

Closed
Cbkhare opened this issue Jun 25, 2020 · 1 comment · Fixed by #193
Closed

Prostgres container should have a persistent volume #192

Cbkhare opened this issue Jun 25, 2020 · 1 comment · Fixed by #193
Assignees
Labels
area/setup Issue related to tinkerbell setup kind/feature Categorizes issue or PR as related to a new feature.

Comments

@Cbkhare
Copy link
Contributor

Cbkhare commented Jun 25, 2020

Postgres container looses its data when it is killed and restarted.

Before:

`/vagrant/deploy$ docker exec -i deploy_tink-cli_1 tink template list

+--------------------------------------+---------------+-------------------------------+-------------------------------+
| TEMPLATE ID | TEMPLATE NAME | CREATED AT | UPDATED AT |
+--------------------------------------+---------------+-------------------------------+-------------------------------+
| e9c3999a-9668-4055-9a42-11d2fbb51bdb | hello-world | 2020-06-25 06:25:48 +0000 UTC | 2020-06-25 06:25:48 +0000 UTC |
+--------------------------------------+---------------+-------------------------------+-------------------------------+
`

After

`vagrant/deploy$ docker exec -i deploy_tink-cli_1 tink template list

+-------------+---------------+------------+------------+
| TEMPLATE ID | TEMPLATE NAME | CREATED AT | UPDATED AT |
+-------------+---------------+------------+------------+
+-------------+---------------+------------+------------+
`

It can be resolved by adding a persistent volume in docker-compose file.

@Cbkhare
Copy link
Contributor Author

Cbkhare commented Jun 25, 2020

Raised PR #193

@parauliya parauliya linked a pull request Jun 25, 2020 that will close this issue
Cbkhare added a commit to Cbkhare/tink that referenced this issue Jun 25, 2020
@parauliya parauliya added the kind/feature Categorizes issue or PR as related to a new feature. label Jun 25, 2020
@gauravgahlot gauravgahlot added the area/setup Issue related to tinkerbell setup label Jun 25, 2020
gauravgahlot pushed a commit that referenced this issue Jun 26, 2020
* 192_PV_for_postgres

* Fix for #192 added persistent volume for postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/setup Issue related to tinkerbell setup kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants