Repository navigation
Enable hot-reloading of ATC HTTPS listener - #9472
Merged
Merged
Conversation
Contributor
Author
|
Forgot to note: In addition to the unit tests that were provided, I manually tested by running the concourse binary with the |
jghiloni
force-pushed
the
feat/atc-tls-hot-reload
branch
from
February 26, 2026 17:15
3a1793f to
ea50c8e
Compare
jghiloni
force-pushed
the
feat/atc-tls-hot-reload
branch
from
February 26, 2026 17:51
ea50c8e to
2e8bb34
Compare
taylorsilva
requested changes
Mar 18, 2026
taylorsilva
left a comment
Member
There was a problem hiding this comment.
Tested locally and it works as expected! Just some small nit-pick stuff and then this is good to merge.
Accepting code review suggestion around tlsConfig Co-authored-by: Taylor Silva <[email protected]>
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.
Changes proposed by this PR
closes #9468
Make sure to follow all PR requirements.
*github.com/tedsuo/ifrit/http_server.httpServerfor TLS calls with newifrit.Runner--*github.com/concourse/concourse/atc/tls.ReloadableHTTPSListenerthat can react tosyscall.SIGHUPsignals, reload the*tls.Config, and restart the https listeneratccmd.RunCommandto usetls.ReloadableHTTPSListenerinstead ofhttp_server.NewTLSListenerand adds a method to reload the TLS config when the signal is receivedNotes to reviewer
Like the TSA hot-reloading, this doesn't make a ton of sense to use in the BOSH or K8s deployment model
Release Note
When running ATC in a self-managed way (like
systemdordocker), sending aSIGHUPto the running process will now reload TLS configuration data for the web listener as well as the authorized keys for the TSA.