Provide an option to pass DB_SSLMODE for postgres
vkatrychenko opened this issue · comments
/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
We are trying to connect Katib to Azure flexible postgres database, but the connection fails due to disabled ssl mode
katib/pkg/db/v1beta1/postgres/postgres.go
Line 53 in f4c8861
What did you expect to happen:
There should be a dedicated variable which can be used to pass the required value. In our case, Ssl Mode=Require;
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
Nonprod/prod
- Katib version (check the Katib controller image version): katib-controller:v0.14.0
- Kubernetes version: (
kubectl version
): v1.26.3 - OS (
uname -a
): Ubuntu
Impacted by this bug? Give it a 👍 We prioritize the issues with the most 👍
/remove-kind
/kind feature
@tenzen-y: Those labels are not set on the issue: kind/feature
In response to this:
/remove-kind
/kind feature
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/remove-kind bug
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
/lifecycle frozen
/help
/good-first-issue
@tenzen-y:
This request has been marked as suitable for new contributors.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue
command.
In response to this:
/lifecycle frozen
/help
/good-first-issue
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/assign