Kong installed on Azure kubernetes - Migration failed

Hi I am using managed Postgres by Azure.

I have installed Kong in AKS using standard helm chart. Migration job is failing because of SSL connection. My postgres has SSL enabled.

The error I am receiving from " wait-for-db "
waiting for db
Error: [PostgreSQL error] failed to retrieve server_version_num: FATAL: SSL connection is required. Please specify SSL options and retry.

Can someone please help how can I fix this? Thanks in advance

Please set the environment variable KONG_PG_SSL=on.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ