Skip to content

Commit 0b59e31

Browse files
authored
Merge pull request #342 from chrishenzie/update-csi-sanity
Remove unused scripts in hack/ directory
2 parents f842879 + efa300a commit 0b59e31

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+28
-2634
lines changed

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ This repository hosts the CSI Hostpath driver and all of its build and dependent
88

99
## Pre-requisite
1010
- Kubernetes cluster
11-
- Running version 1.13 or later
11+
- Running version 1.17 or later
1212
- Access to terminal with `kubectl` installed
13-
- For Kubernetes 1.17 or later, the VolumeSnapshot beta CRDs and Snapshot Controller must be installed as part of the cluster deployment (see Kubernetes 1.17+ deployment instructions)
13+
- VolumeSnapshot CRDs and Snapshot Controller must be installed as part of the cluster deployment (see Kubernetes 1.17+ deployment instructions)
1414

1515
## Features
1616

@@ -21,15 +21,11 @@ The driver can provide empty directories that are backed by the same filesystem
2121
Usually, the driver implements all CSI operations itself. When deployed with the `-proxy-endpoint` parameter, it instead proxies all incoming connections for a CSI driver that is [embedded inside the Kubernetes E2E test suite](https://github.com/kubernetes/kubernetes/tree/master/test/e2e/storage/drivers/csi-test) and used for mocking a CSI driver [with callbacks provided by certain tests](https://github.com/kubernetes/kubernetes/blob/5ad79eae2dcbf33df3b35c48ec993d30fbda46dd/test/e2e/storage/csi_mock_volume.go#L110).
2222

2323
## Deployment
24-
Deployment varies depending on the Kubernetes version your cluster is running:
25-
- [Deployment for Kubernetes 1.17 and later](docs/deploy-1.17-and-later.md)
26-
- [Deployment for Kubernetes 1.16 and earlier](docs/deploy-pre-1.17.md)
24+
[Deployment for Kubernetes 1.17 and later](docs/deploy-1.17-and-later.md)
2725

2826
## Examples
2927
The following examples assume that the CSI hostpath driver has been deployed and validated:
30-
- Volume snapshots
31-
- [Kubernetes 1.17 and later](docs/example-snapshots-1.17-and-later.md)
32-
- [Kubernetes 1.16 and earlier](docs/example-snapshots-pre-1.17.md)
28+
- [Volume snapshots](docs/example-snapshots-1.17-and-later.md)
3329
- [Inline ephemeral volumes](docs/example-ephemeral.md)
3430

3531
## Building the binaries
@@ -39,6 +35,17 @@ If you want to build the driver yourself, you can do so with the following comma
3935
make
4036
```
4137

38+
## Development
39+
40+
### Updating sidecar images
41+
The `deploy/` directory contains manifests for deploying the CSI hostpath driver for different Kubernetes versions.
42+
43+
If you want to update the image versions used in these manifests, you can do so with the following command from the root directory:
44+
45+
```shell
46+
hack/bump-image-versions.sh
47+
```
48+
4249
## Community, discussion, contribution, and support
4350

4451
Learn how to engage with the Kubernetes community on the [community page](http://kubernetes.io/community/).

deploy/kubernetes-1.19-test/README.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

deploy/kubernetes-1.19-test/deploy.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

deploy/kubernetes-1.19-test/destroy.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

deploy/kubernetes-1.19-test/hostpath/csi-hostpath-attacher.yaml

Lines changed: 0 additions & 57 deletions
This file was deleted.

deploy/kubernetes-1.19-test/hostpath/csi-hostpath-driverinfo.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

deploy/kubernetes-1.19-test/hostpath/csi-hostpath-plugin.yaml

Lines changed: 0 additions & 167 deletions
This file was deleted.

deploy/kubernetes-1.19-test/hostpath/csi-hostpath-provisioner.yaml

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)