contrib-helm-chart
contrib-helm-chart copied to clipboard
Can't find password for postgres user
Hi all. I have the same problem as #119 I need to migrate a database from a previous redash docker installation to redash installed by this chart, but I don't have a password for the postgres user. I have the password for the redash user but he has no permissions, stalemate. The author of the issue above closed his topic saying that he will solve the problem differently, but I would like to know the password, as it may save me some difficulties in the future.
Chart version 3.0.1.
@AndrewChubatiuk Any ideas? :smile:
which version of chart are you trying to upgrade from?
which version of chart are you trying to upgrade from?
I'm trying to install chart from scratch. i have an old installation deployed in docker-compose (redash version 3.0.0), i'm trying to migrate from it to k8s. i'm using chart version 3.0.1
postgres in docker compose should have either POSTGRES_PASSWORD and POSTGRES_USER env variable set or it should support passwordless login using postgres
user
All so, but I tried to do the following:
- installed the helmchart from scratch
- tried to restore the database from dump and then I got an error because the available user (redash) has no rights, and the user (postgres) has rights but his password is not known to me (and none of the available passwords does not fit, including the blank password, and the "postgre"s password or derivative passwords) I admit that maybe I do everything wrong. In brief - I have a dump of a db made in the docker compose version of redash, I want to deploy it in the redash that was installed by this helm chart
this old postgresql chart has ability to set admin password
https://github.com/bitnami/charts/blob/18f80142d0eb5783d8cbe38010bdc10ec9b3c77d/bitnami/postgresql/values.yaml#L128
in redash you should pass it using postgresql.postgresqlPostgresPassword