Replies: 1 comment
-
/cc @andrejpetras (liquibase), @geoand (liquibase,openshift), @gsmet (liquibase), @iocanel (openshift) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to deploy to OpenShift, but fail to connect liquibase to the postgresql database. Postgresql is deployed as a Helm dependency. I can't get Liquibase to connect to postgresql, instead it keeps connecting to the default localhost.
I have added these lines to
application.properties
:which cause the generated deployment.yaml to have these environment variables:
But the job.yaml does not have the environment variables, only these
The Helm files are generated using quarkus-helm, and after that I'm setting the values through a values-tst.yml, which I refer to when I do
helm install
. The helm chart gets deployed, but the liquibase Job crashes because it cannot connect to the database, it uses localhost.I can't figure out how I'm able to pass the correct connection properties to the liquibase image. The documentation states that liquibase shares the same properties as the application.
Is this a bug in the helm extension? or maybe somewhere else? Or can someone point me to the correct steps to take?
Beta Was this translation helpful? Give feedback.
All reactions