Skip to content

Commit 860428b

Browse files
committed
test: enable csi-sanity test for ModifyVolume
1 parent 5d4f8de commit 860428b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/csi-sanity/csi-sanity-disk.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ metadata:
55
namespace: kube-system
66
data:
77
volume-parameters.yaml: |
8-
type: cloud_essd
8+
type: cloud_auto
9+
volume-mutable-parameters.yaml: |
10+
type: cloud_auto
11+
burstingEnabled: "true"
12+
provisionedIops: "10"
13+
diskTags/modified-by: csi-sanity
914
---
1015
apiVersion: v1
1116
kind: ServiceAccount
@@ -80,7 +85,7 @@ spec:
8085
requiredDuringSchedulingIgnoredDuringExecution:
8186
nodeSelectorTerms:
8287
- matchExpressions:
83-
- key: node.csi.alibabacloud.com/disktype.cloud_essd
88+
- key: node.csi.alibabacloud.com/disktype.cloud_auto
8489
operator: In
8590
values:
8691
- available
@@ -197,6 +202,7 @@ spec:
197202
"--csi.mountdir", "/var/lib/kubelet/csi-sanity/csi-mount",
198203
"--csi.stagingdir", "/var/lib/kubelet/csi-sanity/csi-staging",
199204
"--csi.testvolumeparameters", "/etc/csi-test/volume-parameters.yaml",
205+
"--csi.testvolumemutableparameters", "/etc/csi-test/volume-mutable-parameters.yaml",
200206
"--csi.testnodevolumeattachlimit",
201207
"--ginkgo.junit-report", "/var/lib/kubelet/csi-sanity/report.xml",
202208
"--ginkgo.no-color",

0 commit comments

Comments
 (0)