GRPC error: function [/csi.v1.Controller/ControllerPublishVolume] req [...]: [rpc error: code = InvalidArgument desc = ControllerPublishVolume: Volume capability does not have mount capabilities set]VMware Cloud Director 10.6.x
Kubernetes Container Storage Interface Driver for VCD 1.6
VMware Cloud Director Container Service Extension 4.x
This issue occurs because the VMware Cloud Director CSI Driver v1.6.0 does not support Raw Block Volumes.
This is a known limitation in CSI 1.6, currently there is no resolution.
The driver only supports "volumeMode: Filesystem". For more information about CSI cababilities you can check this link: Features