Skip to content

Commit

Permalink
Upgrade vac to beta in e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSirenko committed Sep 17, 2024
1 parent 2b29cb0 commit 22fca2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/testsuites/modify_volume_tester.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/kubernetes-sigs/aws-ebs-csi-driver/tests/e2e/driver"
. "github.com/onsi/ginkgo/v2"
v1 "k8s.io/api/core/v1"
"k8s.io/api/storage/v1alpha1"
"k8s.io/api/storage/v1beta1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
clientset "k8s.io/client-go/kubernetes"
Expand Down Expand Up @@ -74,7 +74,7 @@ func (modifyVolumeTest *ModifyVolumeTest) Run(c clientset.Interface, ns *v1.Name
if testType == VolumeModifierForK8s {
AnnotatePvc(modifyingPvc, parametersWithPrefix)
} else if testType == ExternalResizer {
vac, err := c.StorageV1alpha1().VolumeAttributesClasses().Create(context.Background(), &v1alpha1.VolumeAttributesClass{
vac, err := c.StorageV1beta1().VolumeAttributesClasses().Create(context.Background(), &v1beta1.VolumeAttributesClass{
ObjectMeta: metav1.ObjectMeta{
Name: formatOptionMountPod.pod.Name,
Namespace: ns.Name,
Expand Down

0 comments on commit 22fca2f

Please sign in to comment.