Skip to content

Commit 185f1fc

Browse files
authored
Merge pull request #921 from andyzhangx/fix-nonroot-blobfuse2-test
test: run nonroot pod test on blobfuse2 mount
2 parents 025414b + 4cdcee6 commit 185f1fc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

hack/verify-examples.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ rollout_and_wait() {
2828
}
2929

3030
echo "begin to create deployment examples ..."
31-
kubectl apply -f deploy/example/storageclass-blobfuse.yaml
31+
if [ -v EXTERNAL_E2E_TEST_BLOBFUSE_v2 ]; then
32+
echo "create blobfuse2 storage class ..."
33+
kubectl apply -f deploy/example/storageclass-blobfuse2.yaml
34+
else
35+
echo "create blobfuse storage class ..."
36+
kubectl apply -f deploy/example/storageclass-blobfuse.yaml
37+
fi
38+
3239
kubectl apply -f deploy/example/storageclass-blob-nfs.yaml
3340

3441
EXAMPLES=(\

0 commit comments

Comments
 (0)