-
Notifications
You must be signed in to change notification settings - Fork 9
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
Allow configure database connection ssl settings #220
Comments
I did a quick check of the Knex typescript interfaces, and it seems like their example of |
I was thinking about making it easier by just allowing setting the connecting string directly instead of the fields as Knex allows, knexfile.js
custom-environment-variables.json
|
We can consider exposing the connectionString for a release after v0.7.0. However, if we were to proceed with this, this would also need a full implementation into the existing helm chart to ensure that the optionality behavior of the connectionString (specifically ensuring that we are optionally taking in a connection string via secret insertion, and only putting in the variable lookup in the deploymentconfig when it exists, as well as excluding out the other db.* values safely). We'll add this to our backlog for consideration thank you. |
Is your feature request related to a problem? Please describe.
I am trying to use the Crunchy Postgres Operator (PGO) for deploying Postgres. PGO enforces that all connections are over TLS. In the current version, there appears no way to configure SSL. Knexjs allows setting the SSL settings - https://knexjs.org/guide/#configuration-options. For example,
The following file would need the extra ssl property.
Without being able to enable the SSL, I get the following error when COMS tries to connect to the database.
The pg_hba.conf is
Version Number
I am still on 0.4.2, however, looking at the latest version, 0.6.0 it does not appear to support SSL.
Describe the solution you'd like
I would like to enable ssl when connecting to Postgres.
Describe alternatives you've considered
none
Additional context
n/a
The text was updated successfully, but these errors were encountered: