open-nomad/client/pluginmanager/csimanager
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
..
doc.go csi: Add VolumeManager (#6920) 2020-03-23 13:58:29 -04:00
fingerprint.go CSI: fingerprint detailed node capabilities 2021-04-01 16:00:58 -04:00
fingerprint_test.go csi: annotate remaining missing cancellation contexts (#7552) 2020-03-30 16:46:43 -04:00
instance.go csi: add node events to report progress mounting and unmounting volumes (#7547) 2020-03-31 17:13:52 -04:00
instance_test.go csi: checkpoint volume claim garbage collection (#7782) 2020-04-23 11:06:23 -04:00
interface.go CSI: use AccessMode/AttachmentMode from CSIVolumeClaim 2021-04-07 11:24:09 -04:00
manager.go CSI: move node unmount to server-driven RPCs (#7596) 2020-04-02 16:04:56 -04:00
manager_test.go csi: dynamically update plugin registration (#7386) 2020-03-23 13:59:25 -04:00
usage_tracker.go CSI: move node unmount to server-driven RPCs (#7596) 2020-04-02 16:04:56 -04:00
usage_tracker_test.go CSI: move node unmount to server-driven RPCs (#7596) 2020-04-02 16:04:56 -04:00
volume.go CSI: use AccessMode/AttachmentMode from CSIVolumeClaim 2021-04-07 11:24:09 -04:00
volume_test.go CSI: use AccessMode/AttachmentMode from CSIVolumeClaim 2021-04-07 11:24:09 -04:00