From 860428b4632d4e86e1cbee5657e20109fd48aad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E7=8E=AE=E6=96=87?= Date: Fri, 6 Dec 2024 01:04:51 +0800 Subject: [PATCH] test: enable csi-sanity test for ModifyVolume --- test/csi-sanity/csi-sanity-disk.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/test/csi-sanity/csi-sanity-disk.yaml b/test/csi-sanity/csi-sanity-disk.yaml index d233daac6..f7b9773fe 100644 --- a/test/csi-sanity/csi-sanity-disk.yaml +++ b/test/csi-sanity/csi-sanity-disk.yaml @@ -5,7 +5,12 @@ metadata: namespace: kube-system data: volume-parameters.yaml: | - type: cloud_essd + type: cloud_auto + volume-mutable-parameters.yaml: | + type: cloud_auto + burstingEnabled: "true" + provisionedIops: "10" + diskTags/modified-by: csi-sanity --- apiVersion: v1 kind: ServiceAccount @@ -80,7 +85,7 @@ spec: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - - key: node.csi.alibabacloud.com/disktype.cloud_essd + - key: node.csi.alibabacloud.com/disktype.cloud_auto operator: In values: - available @@ -197,6 +202,7 @@ spec: "--csi.mountdir", "/var/lib/kubelet/csi-sanity/csi-mount", "--csi.stagingdir", "/var/lib/kubelet/csi-sanity/csi-staging", "--csi.testvolumeparameters", "/etc/csi-test/volume-parameters.yaml", + "--csi.testvolumemutableparameters", "/etc/csi-test/volume-mutable-parameters.yaml", "--csi.testnodevolumeattachlimit", "--ginkgo.junit-report", "/var/lib/kubelet/csi-sanity/report.xml", "--ginkgo.no-color",