open-nomad/nomad/state
Tim Gross 05eef2b95c keystore serialization (#13106)
This changeset implements the keystore serialization/deserialization:

* Adds a JSON serialization extension for the `RootKey` struct, along with a metadata stub. When we serialize RootKey to the on-disk keystore, we want to base64 encode the key material but also exclude any frequently-changing fields which are stored in raft.
* Implements methods for loading/saving keys to the keystore.
* Implements methods for restoring the whole keystore from disk.
* Wires it all up with the `Keyring` RPC handlers and fixes up any fallout on tests.
2022-07-11 13:34:04 -04:00
..
paginator service discovery: add pagination and filtering support to info requests (#12552) 2022-04-13 07:41:44 +02:00
autopilot.go autopilot: correctly return errors within state functions. (#12714) 2022-04-21 08:54:50 +02:00
autopilot_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_events_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
events.go events: fixup service events and rename topic to service. 2022-04-05 08:25:22 +01:00
events_test.go events: fixup service events and rename topic to service. 2022-04-05 08:25:22 +01:00
iterator.go csi: use node MaxVolumes during scheduling (#7565) 2020-03-31 17:16:47 -04:00
schema.go secure variables: initial state store (#12932) 2022-07-11 13:34:01 -04:00
schema_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
state_changes.go events: Use single eventsFromChanges func (#9281) 2020-11-05 13:06:52 -08:00
state_store.go keystore serialization (#13106) 2022-07-11 13:34:04 -04:00
state_store_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
state_store_restore.go secure variables: initial state store (#12932) 2022-07-11 13:34:01 -04:00
state_store_restore_test.go test: move remaining tests to use ci.Parallel. 2022-03-24 08:45:13 +01:00
state_store_service_regisration_test.go nomad/state: fix dropped test errors (#12406) 2022-04-07 10:48:10 -04:00
state_store_service_registration.go state: add service registration state interaction functions. 2022-02-28 10:15:03 +01:00
state_store_test.go keyring state store operations (#13016) 2022-07-11 13:34:04 -04:00
testing.go CSI: allow updates to volumes on re-registration (#12167) 2022-03-07 11:06:59 -05:00