diff --git a/test/e2e-kubernetes/cloud_auto-vac.yaml b/test/e2e-kubernetes/cloud_auto-vac.yaml new file mode 100644 index 000000000..9945e6bac --- /dev/null +++ b/test/e2e-kubernetes/cloud_auto-vac.yaml @@ -0,0 +1,11 @@ +apiVersion: storage.k8s.io/v1beta1 +kind: VolumeAttributesClass +metadata: + name: auto +driverName: diskplugin.csi.alibabacloud.com +parameters: + type: cloud_auto + burstingEnabled: "true" + provisionedIops: "10" + diskTags/test-vac: "vac-test" + -diskTags/test-vac-2: "" diff --git a/test/e2e-kubernetes/disk-manifest.yaml b/test/e2e-kubernetes/disk-manifest.yaml index 495f81144..1fdbf4ed6 100644 --- a/test/e2e-kubernetes/disk-manifest.yaml +++ b/test/e2e-kubernetes/disk-manifest.yaml @@ -2,6 +2,8 @@ StorageClass: FromExistingClassName: alicloud-disk-topology-alltype SnapshotClass: FromExistingClassName: alibabacloud-disk-snapshot +VolumeAttributesClass: + FromFile: test/e2e-kubernetes/cloud_auto-vac.yaml DriverInfo: Name: diskplugin.csi.alibabacloud.com SupportedSizeRange: