New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploying with postgres db #55
Comments
Hey @arbianqx, You are right the chart lacks proper postgresql support in the init container. An option to disable the init container from values would also be useful. Only workaround that comes to my mind now would be to clone the chart and remove or disable the initContainer from the deployment template if your postgresql is available. |
Thanks for replying to this @dlen. I might give it a try. Do I need any other environment variables to add apart from these: DATASOURCES_DEFAULT_HOST: |
No problem! DATASOURCES_DEFAULT_SCHEMA if you want to specify postgresql schema |
Well that actually didn't work either. I went to docker-compose and check the configuration there. DATASOURCES_DEFAULT_DRIVER: Cake\Database\Driver\Postgres I made sure to add the environment variables in this format. The migrations applied. Now I'm gonna check to create a ingress and such and to see if its working. Will keep you posted. |
Will support for Postgres in the helm chart be implemented in the foreseeable future? It is a desirable future, and we do not want to modify the chart if possible, to ease the update process. |
Yeah we want to tackle this as the next item for the chart. However, I can't give you an ETA at the moment as we have limited bandwidth. |
@xskrasek psql support for the chart is in the testing stage. A new release will be published soon. |
Fixed with 0.5 release |
Hi there,
Is there any chance to deploy this with postgres database.
I tried to change the client to (psql) and also specify the secrets for the database connection but it gets stuck on Init container.
Is there any workaround?
The text was updated successfully, but these errors were encountered: