open-nomad/nomad/volumewatcher
Tim Gross 2dafe46fe3
CSI: allow updates to volumes on re-registration (#12167)
CSI `CreateVolume` RPC is idempotent given that the topology,
capabilities, and parameters are unchanged. CSI volumes have many
user-defined fields that are immutable once set, and many fields that
are not user-settable.

Update the `Register` RPC so that updating a volume via the API merges
onto any existing volume without touching Nomad-controlled fields,
while validating it with the same strict requirements expected for
idempotent `CreateVolume` RPCs.

Also, clarify that this state store method is used for everything, not just
for the `Register` RPC.
2022-03-07 11:06:59 -05:00
..
interfaces.go csi: update volumewatcher to use unpublish RPC (#8579) 2020-08-06 14:31:18 -04:00
interfaces_test.go csi: fix mocked modes in volumewatcher test (#12104) 2022-02-23 09:51:20 -05:00
volume_watcher.go CSI: move terminal alloc handling into denormalization (#11931) 2022-01-27 10:39:08 -05:00
volume_watcher_test.go CSI: move terminal alloc handling into denormalization (#11931) 2022-01-27 10:39:08 -05:00
volumes_watcher.go csi: update leader's ACL in volumewatcher (#11891) 2022-01-24 11:49:50 -05:00
volumes_watcher_test.go CSI: allow updates to volumes on re-registration (#12167) 2022-03-07 11:06:59 -05:00