Skip to content

Commit 0eea7d1

Browse files
committed
spec no longer supports aws sdk v1 and v2
1 parent 761314a commit 0eea7d1

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

test/e2e/suites/managed/eks_auth_test.go

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ var _ = ginkgo.Describe("[managed] [auth] EKS authentication mode tests", func()
6262
ConfigClusterFn: defaultConfigCluster,
6363
BootstrapClusterProxy: e2eCtx.Environment.BootstrapClusterProxy,
6464
AWSSession: e2eCtx.BootstrapUserAWSSession,
65-
AWSSessionV2: e2eCtx.BootstrapUserAWSSessionV2,
6665
Namespace: namespace,
6766
ClusterName: clusterName,
6867
Flavour: EKSAuthAPIAndConfigMapFlavor,
@@ -72,13 +71,13 @@ var _ = ginkgo.Describe("[managed] [auth] EKS authentication mode tests", func()
7271
})
7372

7473
ginkgo.By("EKS cluster should be active")
75-
verifyClusterActiveAndOwned(ctx, eksClusterName, e2eCtx.BootstrapUserAWSSessionV2)
74+
verifyClusterActiveAndOwned(ctx, eksClusterName, e2eCtx.BootstrapUserAWSSession)
7675

7776
ginkgo.By("verifying cluster has the correct authentication mode")
78-
verifyClusterAuthenticationMode(ctx, eksClusterName, ekstypes.AuthenticationModeApiAndConfigMap, e2eCtx.BootstrapUserAWSSessionV2)
77+
verifyClusterAuthenticationMode(ctx, eksClusterName, ekstypes.AuthenticationModeApiAndConfigMap, e2eCtx.BootstrapUserAWSSession)
7978

8079
ginkgo.By("verifying cluster has default bootstrap permissions")
81-
verifyClusterBootstrapPermissions(ctx, eksClusterName, true, e2eCtx.BootstrapUserAWSSessionV2)
80+
verifyClusterBootstrapPermissions(ctx, eksClusterName, true, e2eCtx.BootstrapUserAWSSession)
8281

8382
ginkgo.By("attempting to downgrade from api_and_config_map to config_map should fail")
8483
controlPlaneName := fmt.Sprintf("%s-control-plane", clusterName)
@@ -152,7 +151,6 @@ var _ = ginkgo.Describe("[managed] [auth] EKS authentication mode tests", func()
152151
ConfigClusterFn: defaultConfigCluster,
153152
BootstrapClusterProxy: e2eCtx.Environment.BootstrapClusterProxy,
154153
AWSSession: e2eCtx.BootstrapUserAWSSession,
155-
AWSSessionV2: e2eCtx.BootstrapUserAWSSessionV2,
156154
Namespace: namespace,
157155
ClusterName: clusterName,
158156
Flavour: EKSAuthBootstrapDisabledFlavor,
@@ -162,10 +160,10 @@ var _ = ginkgo.Describe("[managed] [auth] EKS authentication mode tests", func()
162160
})
163161

164162
ginkgo.By("EKS cluster should be active")
165-
verifyClusterActiveAndOwned(ctx, eksClusterName, e2eCtx.BootstrapUserAWSSessionV2)
163+
verifyClusterActiveAndOwned(ctx, eksClusterName, e2eCtx.BootstrapUserAWSSession)
166164

167165
ginkgo.By("verifying cluster has bootstrap permissions disabled")
168-
verifyClusterBootstrapPermissions(ctx, eksClusterName, false, e2eCtx.BootstrapUserAWSSessionV2)
166+
verifyClusterBootstrapPermissions(ctx, eksClusterName, false, e2eCtx.BootstrapUserAWSSession)
169167

170168
cluster := framework.GetClusterByName(ctx, framework.GetClusterByNameInput{
171169
Getter: e2eCtx.Environment.BootstrapClusterProxy.GetClient(),

0 commit comments

Comments
 (0)