Skip to content

Commit

Permalink
Update script to always use latest version of hostpath CSI (#1607)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Sim <ivan.sim@kasten.io>

Signed-off-by: Ivan Sim <ivan.sim@kasten.io>
  • Loading branch information
ihcsim committed Aug 24, 2022
1 parent 36dbefd commit e1a669b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/local_kubernetes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1a669b

Please sign in to comment.