Skip to content

Commit

Permalink
test: fix version of hostpath driver for tests
Browse files Browse the repository at this point in the history
Currently pulling master branch from git, which may be broken at times.
  • Loading branch information
hairyhum committed Feb 14, 2024
1 parent 5be52b3 commit 790fd0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/local_kubernetes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export KIND_VERSION=${KIND_VERSION:-"v0.18.0"}
export LOCAL_CLUSTER_NAME=${LOCAL_CLUSTER_NAME:-"kanister"}
export LOCAL_PATH_PROV_VERSION="v0.0.11"
export SNAPSHOTTER_VERSION="v6.2.1"
export HOSTPATH_DRIVER_VERSION="v1.12.1"
declare -a REQUIRED_BINS=( docker jq go )

if command -v apt-get
Expand Down Expand Up @@ -76,6 +77,7 @@ install_csi_hostpath_driver() {
pushd /tmp
git clone https://github.com/kubernetes-csi/csi-driver-host-path.git
pushd csi-driver-host-path
git checkout ${HOSTPATH_DRIVER_VERSION}
sed -i 's/mountPropagation: Bidirectional/\#mountPropagation: Bidirectional/g' deploy/kubernetes-latest/hostpath/csi-hostpath-plugin.yaml

./deploy/kubernetes-latest/deploy.sh
Expand Down

0 comments on commit 790fd0b

Please sign in to comment.