Files
nomad/command/agent
Chelsea Komlo fa9fd4422c Nomad agent reload TLS configuration on SIGHUP (#3479)
* Allow server TLS configuration to be reloaded via SIGHUP

* dynamic tls reloading for nomad agents

* code cleanup and refactoring

* ensure keyloader is initialized, add comments

* allow downgrading from TLS

* initalize keyloader if necessary

* integration test for tls reload

* fix up test to assert success on reloaded TLS configuration

* failure in loading a new TLS config should remain at current

Reload only the config if agent is already using TLS

* reload agent configuration before specific server/client

lock keyloader before loading/caching a new certificate

* introduce a get-or-set method for keyloader

* fixups from code review

* fix up linting errors

* fixups from code review

* add lock for config updates; improve copy of tls config

* GetCertificate only reloads certificates dynamically for the server

* config updates/copies should be on agent

* improve http integration test

* simplify agent reloading storing a local copy of config

* reuse the same keyloader when reloading

* Test that server and client get reloaded but keep keyloader

* Keyloader exposes GetClientCertificate as well for outgoing connections

* Fix spelling

* correct changelog style
2017-11-14 17:53:23 -08:00
..
2017-11-02 11:27:21 -07:00
2015-12-04 17:12:47 -08:00
2017-10-13 13:12:20 -07:00
2017-10-13 13:12:20 -07:00
2017-10-13 15:45:35 -07:00
2017-11-10 13:29:17 -08:00
2017-11-02 11:27:21 -07:00
2017-11-02 11:27:21 -07:00
2017-09-07 17:04:21 -07:00
2017-07-20 09:36:34 -07:00
2017-10-13 14:36:02 -07:00
2017-10-13 12:40:21 -07:00
2017-10-23 16:07:38 -07:00
2016-10-17 10:48:04 -07:00
2017-07-20 09:36:34 -07:00
2015-08-16 13:54:49 -07:00
2017-07-20 09:36:34 -07:00
2017-09-26 15:26:33 -07:00
2017-10-23 18:38:36 -07:00
2017-09-13 19:21:21 +00:00
2017-10-27 10:43:57 -07:00
2017-07-20 09:36:34 -07:00
2017-09-07 17:04:21 -07:00
2017-07-20 09:36:34 -07:00
2017-09-07 17:04:21 -07:00
2017-07-20 09:36:34 -07:00
2015-09-06 18:39:03 -07:00
2017-09-19 10:08:23 -05:00
2017-07-20 09:36:34 -07:00
2017-07-20 09:36:34 -07:00