Update csi-dev.md

This commit is contained in:
Andy Zhang 2021-04-12 11:36:26 +08:00 committed by GitHub
parent 350f357bea
commit 24f5240726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,11 @@ $ make
- Run verification test before submitting code - Run verification test before submitting code
```console ```console
$ make verify $ make verify
```
- If there is config file changed under `charts` directory, run following command to update chart file
```console
helm package charts/latest/csi-driver-nfs -d charts/latest/
``` ```
## How to test CSI driver in local environment ## How to test CSI driver in local environment
@ -65,7 +70,7 @@ $ csc node publish --endpoint "$endpoint" --cap "$cap" --vol-context "$params" -
``` ```
#### 4. Unpublish a nfs volume #### 4. Unpublish a nfs volume
``` ```console
$ csc node unpublish --endpoint "$endpoint" --target-path "$target_path" "$volumeid" $ csc node unpublish --endpoint "$endpoint" --target-path "$target_path" "$volumeid"
``` ```