Skip to content

Commit 8a66919

Browse files
authored
Merge pull request #171 from ggriffiths/use_hostpath_snapshotclass
Use hostpath snapshotclass instead of pulling from snapshotter
2 parents 4129e73 + 896dedb commit 8a66919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/util/deploy-hostpath.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ echo "deploying snapshotclass based on snapshotter version"
222222
snapshotter_version="$(rbac_version "${BASE_DIR}/hostpath/csi-hostpath-snapshotter.yaml" csi-snapshotter false)"
223223
driver_version="$(basename "${BASE_DIR}")"
224224
if version_gt "$driver_version" "1.16"; then
225-
kubectl apply -f "https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/${snapshotter_version}/examples/kubernetes/snapshotclass.yaml"
225+
kubectl apply -f "${BASE_DIR}/snapshotter/csi-hostpath-snapshotclass.yaml"
226226
fi
227227
228228
# Create a test driver configuration in the place where the prow job

0 commit comments

Comments
 (0)