From da26b07bed8abd0c69e44b809ab20365198992c0 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Sun, 10 Apr 2022 03:24:51 +0000 Subject: [PATCH] test: run external inline volume tests test: enable inline volume in external e2e tests fix inline volume tests fix format shared --- test/external-e2e/run.sh | 2 +- test/external-e2e/testdriver.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/test/external-e2e/run.sh b/test/external-e2e/run.sh index c382741a3..d57bfdd3a 100644 --- a/test/external-e2e/run.sh +++ b/test/external-e2e/run.sh @@ -29,7 +29,7 @@ setup_e2e_binaries() { curl -sL https://storage.googleapis.com/kubernetes-release/release/v1.23.5/kubernetes-test-linux-amd64.tar.gz --output e2e-tests.tar.gz tar -xvf e2e-tests.tar.gz && rm e2e-tests.tar.gz - export EXTRA_HELM_OPTIONS="--set driver.name=$DRIVER.csi.k8s.io --set controller.name=csi-$DRIVER-controller --set node.name=csi-$DRIVER-node" + export EXTRA_HELM_OPTIONS="--set driver.name=$DRIVER.csi.k8s.io --set controller.name=csi-$DRIVER-controller --set node.name=csi-$DRIVER-node --set feature.enableInlineVolume=true" # test on alternative driver name sed -i "s/nfs.csi.k8s.io/$DRIVER.csi.k8s.io/g" deploy/example/storageclass-nfs.yaml diff --git a/test/external-e2e/testdriver.yaml b/test/external-e2e/testdriver.yaml index 7740af084..406d4c9dd 100644 --- a/test/external-e2e/testdriver.yaml +++ b/test/external-e2e/testdriver.yaml @@ -5,9 +5,15 @@ StorageClass: FromFile: /tmp/csi/storageclass.yaml DriverInfo: Name: test.csi.k8s.io + SupportedFsType: {"nfs"} Capabilities: persistence: true exec: true multipods: true RWX: true fsGroup: true +InlineVolumes: +- Attributes: + server: nfs-server.default.svc.cluster.local + share: / + Shared: true