Skip to content

Commit

Permalink
deploy: unify and simplify deployment scripts
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
pohly committed Apr 1, 2019
1 parent 879ba77 commit bcd0535
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 337 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ deploying snapshotclass
volumesnapshotclass.snapshot.storage.k8s.io/csi-hostpath-snapclass created
```

The script can also install CRDs that are needed for alpha features,
but as this is something that should be done by the cluster
provisioning tool it is disabled in the script by default. For this
and other customizations see the source code of the deploy script.

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.

## Run example application and validate
Expand Down
166 changes: 0 additions & 166 deletions deploy/kubernetes-1.13/deploy-hostpath.sh

This file was deleted.

1 change: 1 addition & 0 deletions deploy/kubernetes-1.13/deploy-hostpath.sh
166 changes: 0 additions & 166 deletions deploy/master/deploy-hostpath.sh

This file was deleted.

1 change: 1 addition & 0 deletions deploy/master/deploy-hostpath.sh
Loading

0 comments on commit bcd0535

Please sign in to comment.