csi-addons / kubernetes-csi-addons

CSI-Addons implementation and APIs for Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a dummy CSI driver that can be used for testing controller/sidecar interactions

nixpanic opened this issue · comments

By using a dummy CSI-driver that implements CSI-Addons operations for known names of PVCs, it should be possible to test the whole process from user-input to updates status in the CRs.

This fake CSI-driver does not need to use any actual storage. It can just return success/failed responses without doing anything.

Instead of writing a fake CSI-driver, csi-driver-host-path can probably be used.