Skip to content

Commit

Permalink
docs: update for release v4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pohly committed Feb 23, 2021
1 parent a3b6347 commit 1337ff9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[![Build Status](https://travis-ci.org/kubernetes-csi/csi-test.svg?branch=master)](https://travis-ci.org/kubernetes-csi/csi-test)
[![Docker Repository on Quay](https://quay.io/repository/k8scsi/mock-driver/status "Docker Repository on
Quay")](https://quay.io/repository/k8scsi/mock-driver)
[![Build Status](https://k8s-testgrid.appspot.com/sig-storage-csi-other#pull-kubernetes-csi-csi-test)](https://k8s-testgrid.appspot.com/sig-storage-csi-other#pull-kubernetes-csi-csi-test)
[![Docker Repository on gcr](https://console.cloud.google.com/gcr/images/k8s-artifacts-prod/US/sig-storage/mock-driver)](https://console.cloud.google.com/gcr/images/k8s-artifacts-prod/US/sig-storage/mock-driver)

# csi-test

Expand All @@ -14,9 +13,7 @@ CO developers can use this framework to create drivers based on the

### Mock driver for testing

We also provide a container called `quay.io/k8scsi/mock-driver:canary` which can be used as an in-memory mock driver.
It follows the same release cycle as other containers, so the latest release is `quay.io/k8scsi/mock-driver:v0.3.0`.

We also provide a container called `k8s.gcr.io/sig-storage/mock-driver` which can be used as an in-memory mock driver.
You will need to setup the environment variable `CSI_ENDPOINT` for the mock driver to know where to create the unix
domain socket.

Expand All @@ -34,7 +31,7 @@ CSI driver.

### Note

* Master is for CSI v1.2.0. Please see the branches for other CSI releases.
* Master is for CSI v1.3.0. Please see the branches for other CSI releases.
* Building has been tested with the Go version specified in release-tools/travis.yml

## Community, discussion, contribution, and support
Expand Down
4 changes: 3 additions & 1 deletion mock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Usage of mock:
Disables RPC_PUBLISH_UNPUBLISH_VOLUME capability.
-name string
CSI driver name. (default "io.kubernetes.storage.mock")
-v=5
Enable gRPC call logging.
```

Limitation about this mock CSI Driver are:
Expand Down Expand Up @@ -57,4 +59,4 @@ Recommended steps to follow:
1. Deploy `example/pvc-test.yaml` to test the provisioner. Edit the pvc spec to test csi volume resizer.
2. Deploy `example/pod-test.yaml` to test volume mounting.
3. Deploy `example/snapshot-test.yaml` to test snapshot of the pvc deployed in step 1.
4. Deploy `example/snapshot-restore-test.yaml` to test restore volume from a snapshot generated from step 3s.
4. Deploy `example/snapshot-restore-test.yaml` to test restore volume from a snapshot generated from step 3s.

0 comments on commit 1337ff9

Please sign in to comment.