https://infracost.io logo
Title
g

gray-fountain-92834

09/02/2022, 11:09 AM
Hello people, using the Helm chart, it does not seem possible to enforce SSL for an external Postgres. The app itself accepts a raw connection string but Helm does not have that value. Do you have recommendations for connecting to a PG with SSL required?
l

little-author-61621

09/02/2022, 11:40 AM
Hi @gray-fountain-92834, this looks like an option we should probably add to the helm chart. I wonder if setting dummy values for the
postgres.external.*
inputs and then providing the
POSTGRES_URI
using the
extraEnv
input (which is added to the deployment here) would work?
g

gray-fountain-92834

09/02/2022, 11:44 AM
hmmm, let me try it out. this would be
extraEnv
and not
api.extraEnv
I am guessing?
l

little-author-61621

09/02/2022, 11:51 AM
yeah, it looks like that gets added to the api deployment and the jobs