276633673d
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. |
||
---|---|---|
.. | ||
doc.go | ||
fingerprint.go | ||
fingerprint_test.go | ||
instance.go | ||
instance_test.go | ||
interface.go | ||
manager.go | ||
manager_test.go | ||
usage_tracker.go | ||
usage_tracker_test.go | ||
volume.go | ||
volume_test.go |