2dafe46fe3
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. |
||
---|---|---|
.. | ||
interfaces.go | ||
interfaces_test.go | ||
volume_watcher.go | ||
volume_watcher_test.go | ||
volumes_watcher.go | ||
volumes_watcher_test.go |