Skip to content

Commit

Permalink
test: enable csi-sanity test for ModifyVolume
Browse files Browse the repository at this point in the history
  • Loading branch information
huww98 committed Dec 5, 2024
1 parent 5d4f8de commit 860428b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/csi-sanity/csi-sanity-disk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 860428b

Please sign in to comment.