open-nomad/nomad/state
Tim Gross 276633673d CSI: use AccessMode/AttachmentMode from CSIVolumeClaim
Registration of Nomad volumes previously allowed for a single volume
capability (access mode + attachment mode pair). The recent `volume create`
command requires that we pass a list of requested capabilities, but the
existing workflow for claiming volumes and attaching them on the client
assumed that the volume's single capability was correct and unchanging.

Add `AccessMode` and `AttachmentMode` to `CSIVolumeClaim`, use these fields to
set the initial claim value, and add backwards compatibility logic to handle
the existing volumes that already have claims without these fields.
2021-04-07 11:24:09 -04:00
..
autopilot.go remove node events for state track changing pr 2020-09-04 10:23:35 -04:00
autopilot_test.go
deployment_events_test.go Events/mv structs (#9430) 2020-11-23 14:01:10 -05:00
events.go restored Node.Sanitize() for RPC endpoints 2021-03-26 17:03:15 +00:00
events_test.go added tests that the API doesn't leak Node.SecretID 2021-03-23 18:09:20 +00:00
iterator.go csi: use node MaxVolumes during scheduling (#7565) 2020-03-31 17:16:47 -04:00
schema.go state store updates for one-time tokens 2021-03-10 08:17:56 -05:00
schema_test.go remove event durability (#9147) 2020-10-22 12:21:03 -04:00
state_changes.go events: Use single eventsFromChanges func (#9281) 2020-11-05 13:06:52 -08:00
state_store.go CSI: use AccessMode/AttachmentMode from CSIVolumeClaim 2021-04-07 11:24:09 -04:00
state_store_oss.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
state_store_test.go removed deprecated fields from Drain structs and API 2021-03-21 15:30:11 +00:00
testing.go CSI: fix misleading HTTP test 2021-03-31 16:37:09 -04:00