Accessing external database in GCP

I installed bitnami-ha database on GCP. i want to connect this one with Gitlab externally.
From documentation:

helm install gitlab gitlab/gitlab
  --set postgresql.install=false
  --set global.psql.password.secret=gitlab-postgresql-password
  --set global.psql.password.key=postgres-password

what is the appropriate format for
i am following this one
for other applications we use jdbc url in this format to connect external db:

--set jdbcOverwrite.jdbcUrl=jdbc:postgresql://service-name.namespace.svc.cluster.local:5432/dbname \
--set jdbcOverwrite.jdbcUsername=username\
--set jdbcOverwrite.jdbcPassword=password \

What will be the appropriate format?