consul/agent/connect
Paul Banks 0638e09b6e
connect: agent leaf cert caching improvements (#5091)
* Add State storage and LastResult argument into Cache so that cache.Types can safely store additional data that is eventually expired.

* New Leaf cache type working and basic tests passing. TODO: more extensive testing for the Root change jitter across blocking requests, test concurrent fetches for different leaves interact nicely with rootsWatcher.

* Add multi-client and delayed rotation tests.

* Typos and cleanup error handling in roots watch

* Add comment about how the FetchResult can be used and change ca leaf state to use a non-pointer state.

* Plumb test override of root CA jitter through TestAgent so that tests are deterministic again!

* Fix failing config test
2019-01-10 12:46:11 +00:00
..
ca connect: add tls config for vault connect ca provider (#5125) 2019-01-08 17:09:22 +01:00
csr.go connect/ca: tighten up the intermediate signing verification 2018-09-14 16:08:54 -07:00
generate.go Fix logical conflicts with CA refactor 2018-06-14 09:42:17 -07:00
parsing.go connect/ca: update Consul provider to use new cross-sign CSR method 2018-06-25 12:25:41 -07:00
testing_ca.go connect: agent leaf cert caching improvements (#5091) 2019-01-10 12:46:11 +00:00
testing_ca_test.go connect.Service based implementation after review feedback. 2018-06-14 09:41:56 -07:00
testing_spiffe.go Fixed many tests after rebase. Some still failing and seem unrelated to any connect changes. 2018-06-14 09:42:16 -07:00
uri.go xDS Server Implementation (#4731) 2018-10-10 16:55:34 +01:00
uri_service.go agent/connect: Authorize for CertURI 2018-06-14 09:41:54 -07:00
uri_service_test.go agent/connect: Authorize for CertURI 2018-06-14 09:41:54 -07:00
uri_signing.go connect/ca: add intermediate functions to Consul CA provider 2018-09-13 13:09:21 -07:00
uri_signing_test.go Fixed many tests after rebase. Some still failing and seem unrelated to any connect changes. 2018-06-14 09:42:16 -07:00
uri_test.go xDS Server Implementation (#4731) 2018-10-10 16:55:34 +01:00