You only need to provide the url the Postgres is available at. Authentication is supported by providing username and password in the url.
trinoLb:
persistence:
postgres:
url: postgres://trino-lb:[email protected]/trino_lb
maxConnections: 10 # optional, defaults to 10
The above configuration works with a Postgres installed with the following command:
helm install postgres bitnami/postgresql --version 13.2.18 --set auth.username=trino-lb,auth.password=trino-lb,auth.database=trino_lb