diff --git a/test/e2e/aws-ebs/manifest.yaml b/test/e2e/aws-ebs/manifest.yaml index 51a056aa1..b6b954ebc 100644 --- a/test/e2e/aws-ebs/manifest.yaml +++ b/test/e2e/aws-ebs/manifest.yaml @@ -4,6 +4,8 @@ StorageClass: FromExistingClassName: gp2-csi SnapshotClass: FromName: true +VolumeAttributesClass: + FromFile: volumeattributesclass.yaml DriverInfo: Name: ebs.csi.aws.com SupportedSizeRange: diff --git a/test/e2e/aws-ebs/volumeattributesclass.yaml b/test/e2e/aws-ebs/volumeattributesclass.yaml new file mode 100644 index 000000000..22e0f46b7 --- /dev/null +++ b/test/e2e/aws-ebs/volumeattributesclass.yaml @@ -0,0 +1,21 @@ +# Copyright 2024 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the 'License'); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an 'AS IS' BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +apiVersion: storage.k8s.io/v1 +kind: VolumeAttributesClass +metadata: + name: gp2-class +driverName: ebs.csi.aws.com +parameters: + type: gp2