open-nomad/nomad/structs
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
..
config Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
bitmap.go assign names 2017-07-07 12:03:11 -07:00
bitmap_test.go assign names 2017-07-07 12:03:11 -07:00
diff.go Fix empty map 2017-09-28 16:15:04 -07:00
diff_test.go Test Check.Header add/removes 2017-09-28 17:08:43 -07:00
funcs.go Remove structs import from api 2017-09-29 10:36:08 -07:00
funcs_test.go Remove structs import from api 2017-09-29 10:36:08 -07:00
network.go Shrink dynamic port range 2017-07-18 13:47:53 -07:00
network_test.go Enable more linters 2017-09-26 15:26:33 -07:00
node_class.go Only interpret vars wrapped in braces 2016-02-04 17:26:46 -08:00
node_class_test.go Remove structs import from api 2017-09-29 10:36:08 -07:00
operator.go Operator command/endpoint/documentation 2017-02-09 18:04:46 -08:00
structs.go Merge pull request #3536 from angrycub/b-resource-memory-test-fix 2017-11-13 17:00:14 -06:00
structs_codegen.go pass in uid to codecgen 2017-09-11 15:40:27 -07:00
structs_test.go Fixes bug with display message logic due to deprecating GenericSource. Also added more test cases to cover a bunch more edge cases 2017-11-13 11:14:57 -06:00