Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions deploy/util/deploy-hostpath.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,11 @@ fi
# expects it?
if [ "${CSI_PROW_TEST_DRIVER}" ]; then
cp "${BASE_DIR}/test-driver.yaml" "${CSI_PROW_TEST_DRIVER}"

# When testing late binding, pods must be forced to run on the
# same node as the hostpath driver. external-provisioner currently
# doesn't handle the case when the "wrong" node is chosen and gets
# stuck permanently with:
# error generating accessibility requirements: no topology key found on CSINode csi-prow-worker2
echo >>"${CSI_PROW_TEST_DRIVER}" "ClientNodeName: $(kubectl get pods/csi-hostpath-provisioner-0 -o jsonpath='{.spec.nodeName}')"
fi