open-nomad/client
Chelsea Komlo 2dfda33703 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
..
allocdir Enable more linters 2017-09-26 15:26:33 -07:00
config Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
driver Make device mounting unit test verify configuration via docker inspect 2017-11-13 09:56:54 -06:00
fingerprint Don't panic on unexpeced Consul response 2017-10-11 18:25:54 -07:00
getter Add support for go-getter modes 2017-07-06 10:45:44 -07:00
stats Fix GC'd alloc tracking 2017-11-01 15:16:38 -05:00
structs Small fixes 2017-07-18 12:19:57 -07:00
testutil Skip if no docker 2017-10-19 16:55:10 -07:00
vaultclient Remove `structs` import from `api` 2017-09-29 10:36:08 -07:00
acl.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
acl_test.go Remove `structs` import from `api` 2017-09-29 10:36:08 -07:00
alloc_runner.go Alloc Runner doesn't panic on restoration. 2017-11-02 16:14:13 -07:00
alloc_runner_health_watcher.go comments 2017-08-15 12:23:29 -07:00
alloc_runner_test.go Remove event GenericSource, and address other code review comments. Also added deprecation info in comments. 2017-11-03 10:10:06 -05:00
alloc_watcher.go Alloc watcher must send Node.SecretID as AuthToken 2017-10-12 16:38:02 -07:00
alloc_watcher_test.go Add functionality for authenticated volumes 2017-10-11 17:09:20 -07:00
client.go Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
client_test.go Fix GC'd alloc tracking 2017-11-01 15:16:38 -05:00
consul.go Add check watcher for restarting unhealthy tasks 2017-09-14 16:46:54 -07:00
consul_template.go alway load all templates 2017-11-10 12:35:51 -08:00
consul_template_test.go Handle multiple environment templates 2017-11-10 11:08:19 -08:00
consul_test.go Improve check watcher logging and add tests 2017-09-14 16:47:41 -07:00
gc.go Remove noisy log line 2017-11-03 16:00:30 -07:00
gc_test.go Fix race in test 2017-11-01 15:16:38 -05:00
restarts.go Enable more linters 2017-09-26 15:26:33 -07:00
restarts_test.go Cleanup and test restart failure code 2017-09-15 14:54:37 -07:00
serverlist.go Retry all servers on RPC call failure 2016-09-23 11:44:48 -07:00
serverlist_test.go Parallel client tests (#2890) 2017-07-22 19:04:36 -07:00
state_database.go Enable more linters 2017-09-26 15:26:33 -07:00
task_runner.go Remove event GenericSource, and address other code review comments. Also added deprecation info in comments. 2017-11-03 10:10:06 -05:00
task_runner_test.go Move logic for determinic event display message to task_runner, added two new fields DisplayMessage and Details. 2017-11-03 09:13:01 -05:00
task_runner_unix_test.go Improve check watcher logging and add tests 2017-09-14 16:47:41 -07:00
util.go Move env template handling into consul_template.go 2017-05-23 13:53:34 -07:00
util_test.go Remove `structs` import from `api` 2017-09-29 10:36:08 -07:00