mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #1041] Feature request: support additional PostgreSQL DB SSL parameters via environment variables #721
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#721
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gclawes on GitHub (Aug 4, 2024).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/1041
It would be useful to support the following SSL parameters in postgresql DB connections, especially when using custom trusted CAs or certificate-based authentication.
sslrootcert- useful when using a custom certificate authority for the postgresql serversslcert/sslkey- useful for certificate-based authentication, especially withcert-managerin KubernetesThese can be set in
local_settings.pymanually, but having this in environment variables would be more convenient in container environments.@cuu508 commented on GitHub (Aug 19, 2024):
Thanks for the suggestion. All three of
sslrootcert,sslcertandsslkeytake file paths – to use them, you would need to mount files inside the image, or build a custom image. If you are doing that anyway, is mounting one additional file (local_settings.py) that difficult?And another thought, these parameters have default values – perhaps you can mount the certs and key at their default locations?