Skip to content

Conversation

@jwnx
Copy link

@jwnx jwnx commented Oct 22, 2025

Repo-host mounts the latest certificates as secrets upon creation. Every now and then
these certificates are updated (expiry, corruption, race condition, etc) and if repo-host is
not restarted, pgbackrest jobs will fail due to file mismatch.

This patch introduces an annotation that tracks pgbackrest secret resourceVersion in
repo-host, causing changes to the secret to trigger a repo-host restart and forcing it to
load the latest certificate file.

Signed-off-by: Juliana Oliveira juliana@fly.io

Signed-off-by: Juliana Oliveira <juliana@fly.io>
Copy link
Member

@jphenow jphenow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤘

jwnx added 3 commits October 23, 2025 10:16
Signed-off-by: Juliana Oliveira <juliana@fly.io>
Signed-off-by: Juliana Oliveira <juliana@fly.io>
Signed-off-by: Juliana Oliveira <juliana@fly.io>
@jwnx jwnx merged commit 4c27c07 into flyio-2.6.0 Oct 23, 2025
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants