From 790fd0b4fbd0a94d67f3aa6c9c77a311de957e4d Mon Sep 17 00:00:00 2001 From: Daniil Fedotov Date: Wed, 14 Feb 2024 15:40:43 -0500 Subject: [PATCH] test: fix version of hostpath driver for tests Currently pulling master branch from git, which may be broken at times. --- build/local_kubernetes.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/local_kubernetes.sh b/build/local_kubernetes.sh index 933ef22100..0f18e1836e 100755 --- a/build/local_kubernetes.sh +++ b/build/local_kubernetes.sh @@ -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 @@ -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