From 2d2e03b7fe5e14f69d5e500e521b43d44822b993 Mon Sep 17 00:00:00 2001 From: Jonathan Dobson Date: Fri, 7 May 2021 14:30:12 -0600 Subject: [PATCH] prow.sh: enable -csi.checkpathcmd option in csi-sanity This enables the -csi.checkpathcmd option, which is needed in order to test if TargetPath was successfully removed by the CSI driver as part of NodeUnpublishVolume. --- prow.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/prow.sh b/prow.sh index fe23cf51..8017171f 100755 --- a/prow.sh +++ b/prow.sh @@ -975,6 +975,24 @@ if ! kubectl exec "${CSI_PROW_SANITY_POD}" -c "${CSI_PROW_SANITY_CONTAINER}" -- exit 1 fi EOF + + cat >"${CSI_PROW_WORK}/checkdir_in_pod.sh" <