Skip to content

Commit

Permalink
Merge pull request #171 from ggriffiths/use_hostpath_snapshotclass
Browse files Browse the repository at this point in the history
Use hostpath snapshotclass instead of pulling from snapshotter
  • Loading branch information
k8s-ci-robot authored Apr 13, 2020
2 parents 4129e73 + 896dedb commit 8a66919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/util/deploy-hostpath.sh
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ echo "deploying snapshotclass based on snapshotter version"
snapshotter_version="$(rbac_version "${BASE_DIR}/hostpath/csi-hostpath-snapshotter.yaml" csi-snapshotter false)"
driver_version="$(basename "${BASE_DIR}")"
if version_gt "$driver_version" "1.16"; then
kubectl apply -f "https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/${snapshotter_version}/examples/kubernetes/snapshotclass.yaml"
kubectl apply -f "${BASE_DIR}/snapshotter/csi-hostpath-snapshotclass.yaml"
fi
# Create a test driver configuration in the place where the prow job
Expand Down

0 comments on commit 8a66919

Please sign in to comment.