My team and I are trying to encrypt the connection between our AWS RDS Postgres 15 DB and Flyte for compliance purposes. Disabling SSL is not an option. We're stuck with this message:
Copy code
[error] failed to initialize database, got error failed to connect to `host=<redacted> user=postgres database=datacatalog`: server error (FATAL: no pg_hba.conf entry for host "10.<redacted>", user "postgres", database "datacatalog", no encryption (SQLSTATE 28000))
as suggested here and we get the same error, any suggestions?
t
thankful-minister-83577
04/02/2024, 4:30 PM
i’m not sure, but i’m not sure this is flyte specific
thankful-minister-83577
04/02/2024, 4:30 PM
can you help us confirm that you’re getting the same error just using psql?
b
broad-piano-18436
04/02/2024, 6:20 PM
This got resolved, I wasn't passing in the password properly, the password or passwordPath has to be specified in the db.yml configmap (if using the Helm chart, defined under
spec.db.<component, for example datacatalog>.database.password
or
spec.db.<component, for example datacatalog>.database.passwordPath