-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vault client certificates aren't reread on reload #6052
Comments
Thanks for reporting this bug. We should indeed reload that configuration indeed. |
I believe this applies to |
I'm torn on the approach for this issue. On one hand, we could take the same approach that TLSConfig did - which is to diff the previous and new config by using the checksum of |
@habnabit @notnoop I started a pull request with a fix for this issue (you should be able to see it referenced here). I've got a partial fix which should allow reloading vault config for the nomad servers - but the clients will require additional work. I'd be willing to take that on as well but I think I may need additional help with it. The vault integration with the clients seems to be pretty different from the servers. |
Specifically, the certificate used/referred to in the
vault.cert_file
andvault.key_file
sections of the nomad config. The other certs are reloaded/reread on SIGHUP, but not that one.It's what I've observed experimentally but it would take a bit of work to set this up for me to be able to log and demonstrate it. My understanding is that nomad doesn't reload every config value so this isn't something I'd have to demonstrate/prove deeply, but I can if the symptoms sound surprising.
The text was updated successfully, but these errors were encountered: