setup database certificates - #623
Merged
Merged
Conversation
boddumanohar
force-pushed
the
db-certs
branch
from
February 23, 2026 11:09
7dc23c5 to
020a251
Compare
boddumanohar
marked this pull request as draft
February 23, 2026 11:09
boddumanohar
force-pushed
the
db-certs
branch
from
February 23, 2026 11:15
020a251 to
44338c9
Compare
boddumanohar
force-pushed
the
db-certs
branch
2 times, most recently
from
February 25, 2026 10:29
88994e4 to
ac9354d
Compare
boddumanohar
force-pushed
the
db-certs
branch
2 times, most recently
from
February 26, 2026 03:26
e059c1e to
d052469
Compare
boddumanohar
marked this pull request as ready for review
February 26, 2026 03:31
boddumanohar
marked this pull request as draft
February 26, 2026 12:09
boddumanohar
force-pushed
the
db-certs
branch
from
February 28, 2026 18:04
d052469 to
72cd5b8
Compare
boddumanohar
marked this pull request as ready for review
March 1, 2026 03:09
mxsrc
reviewed
Mar 4, 2026
mxsrc
left a comment
Collaborator
There was a problem hiding this comment.
Small comment, otherwise it looks good.
mxsrc
approved these changes
Mar 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: simplyblock/vela#169
The database connection endpoint connects to PGBouncer service. So the changes in PR sets up TLS termination for at PGBouncer.
As a part of this changes, we create the certificate:
We first provision a temporary certificate (using the annotation:
cert-manager.io/issue-temporary-certificate: "true") and then the certificate will be replaced by the actual lets encrypt certificate.initially PSQL connection works.
but then it doesn't work
verify-fullmode.after sometime it works again. Because the certificate will be replaced by lets encrypt's TLS secret
and on the image logs