Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nixpanic opened this issue Jan 21, 2022 · 1 comment
Labels
enhancement New feature or request testing Improvements for CI and testing

Comments

@nixpanic
Copy link
Collaborator

nixpanic commented Jan 21, 2022

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.

@nixpanic nixpanic added the enhancement New feature or request label Jan 21, 2022
@nixpanic nixpanic added the testing Improvements for CI and testing label Jul 29, 2022
@nixpanic
Copy link
Collaborator Author

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

nixpanic pushed a commit to nixpanic/kubernetes-csi-addons that referenced this issue Jan 12, 2024
Syncing latest changes from main for kubernetes-csi-addons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing Improvements for CI and testing
Projects
None yet
Development

No branches or pull requests

1 participant