Update script to always use latest version of hostpath CSI
@@ -73,8 +73,8 @@ install_csi_hostpath_driver() {
cd /tmp
git clone https://github.com/kubernetes-csi/csi-driver-host-path.git
cd csi-driver-host-path
- sed -i 's/mountPropagation: Bidirectional/\#mountPropagation: Bidirectional/g' deploy/kubernetes-1.21/hostpath/csi-hostpath-plugin.yaml
- ./deploy/kubernetes-1.21/deploy.sh
+ sed -i 's/mountPropagation: Bidirectional/\#mountPropagation: Bidirectional/g' deploy/kubernetes-latest/hostpath/csi-hostpath-plugin.yaml
+ ./deploy/kubernetes-latest/deploy.sh
# Create StorageClass
kubectl apply -f ./examples/csi-storageclass.yaml
