Niels de Vos ea7be34396 rbd: use helper functions from csi-common for VolumeCapability checking
The internal/csi-common package offers helper functions like
`IsReaderOnly()` and `IsBlockMultiNode()`. These should be used instead
of checking the VolumeCapability that is passed in a request in
different places.

This also suggested that adding the "ro" mount option in
`NodeServer.mountVolumeToStagePath()` is not appropriate, as the
csi-common helper `ConstructMountOptions()` can take care of that
already too.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
2025-04-30 13:54:53 +00:00
..
2024-08-05 17:04:52 +00:00
2024-09-20 08:55:17 +00:00