Skip to content

Commit bcd0535

Browse files
committed
deploy: unify and simplify deployment scripts
Conceptually, each deployment can have its own script. This may become relevant at some point, so the CI looks for the script in the individual directories. But in practice the current two copies of the script were identical. It makes sense to keep only a single copy in a neutral place and use it via symlinks. While at it, the unused CRD installation gets removed. It's definitely not needed for 1.14 (no CRDs) and should not be needed for 1.13 (cluster setup must install them).
1 parent 879ba77 commit bcd0535

File tree

4 files changed

+168
-337
lines changed

4 files changed

+168
-337
lines changed

README.md

-5
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ deploying snapshotclass
6464
volumesnapshotclass.snapshot.storage.k8s.io/csi-hostpath-snapclass created
6565
```
6666

67-
The script can also install CRDs that are needed for alpha features,
68-
but as this is something that should be done by the cluster
69-
provisioning tool it is disabled in the script by default. For this
70-
and other customizations see the source code of the deploy script.
71-
7267
The [livenessprobe side-container](https://github.com/kubernetes-csi/livenessprobe) provided by the CSI community is deployed with the CSI driver to provide the liveness checking of the CSI services.
7368

7469
## Run example application and validate

deploy/kubernetes-1.13/deploy-hostpath.sh

-166
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../util/deploy-hostpath.sh

deploy/master/deploy-hostpath.sh

-166
This file was deleted.

deploy/master/deploy-hostpath.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../util/deploy-hostpath.sh

0 commit comments

Comments
 (0)