I am using lakefs with minio as the storage backen...
# help
a
I am using lakefs with minio as the storage backend. I have deployed lakefs using helm. Every time i restart the lakefs server it is prompting me to create a new account and i am losing my previous data as it was associated with the previous account. How to persist my user accross pod restarts?
i
Hey @Aswanth Krishnan 👋 It’s hard to tell what’s the issue without seeing your values.yaml. But, it sounds like the database that manages lakeFS metadata is being reset. This can happen if you use the dev postgres we provide and redeploy it with the chart every time. • In helm setting useDevPostgres: false will disable the test postgres container and you can configure your own database. • In general configuring the helm chart example • You can see here in the lakeFS docs for more details on how to configure the right database, in AWS for example that’s either dynamodb or a postgres.
a
oh yes i think i am using database as "local" , my bad. let me try hooking it up to my db. Thanks alot! 😇 is ti also possible to configure a default admin account using helm values file?
👍 1
i
ti also possible to configure a default admin account using helm values file
Not in the chart we don’t encourage that. Usually you would do that once via the UI and store the admin credentials in a safe place they are the key to the kingdom. There is a
lakefs setup
sub command but that should run only once and is not provided as an option at the chart level.
👍 1