Skip to content

Commit 1386136

Browse files
committed
fix: eks tests broken due to incorrect addon versions
This updates the addon versions used for the eks tests inline with the updated k8s version for the created cluster. Also update the IPv6 test to be more in line with the other tests. Signed-off-by: Richard Case <[email protected]>
1 parent f3c178f commit 1386136

File tree

3 files changed

+9
-29
lines changed

3 files changed

+9
-29
lines changed

test/e2e/data/e2e_eks_conf.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ variables:
126126
AWS_SSH_KEY_NAME: "cluster-api-provider-aws-sigs-k8s-io"
127127
EXP_EKS_IAM: "false"
128128
EXP_EKS_ADD_ROLES: "false"
129-
VPC_ADDON_VERSION: "v1.16.2-eksbuild.1"
130-
COREDNS_ADDON_VERSION: "v1.11.1-eksbuild.6"
129+
VPC_ADDON_VERSION: "v1.18.1-eksbuild.3"
130+
COREDNS_ADDON_VERSION: "v1.11.1-eksbuild.8"
131131
COREDNS_ADDON_CONFIGURATION: '{"replicaCount":3}'
132-
KUBE_PROXY_ADDON_VERSION: "v1.29.0-eksbuild.2"
133-
CONFORMANCE_CI_ARTIFACTS_KUBERNETES_VERSION: "1.29.1"
132+
KUBE_PROXY_ADDON_VERSION: "v1.30.0-eksbuild.3"
133+
CONFORMANCE_CI_ARTIFACTS_KUBERNETES_VERSION: "1.30.2"
134134
IP_FAMILY: "IPv4"
135135
CAPA_LOGLEVEL: "4"
136136
EXP_EXTERNAL_RESOURCE_GC: "true"

test/e2e/data/eks/cluster-template-eks-ipv6-cluster.yaml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -54,26 +54,3 @@ spec:
5454
identityRef:
5555
kind: AWSClusterStaticIdentity
5656
name: e2e-account
57-
---
58-
apiVersion: cluster.x-k8s.io/v1beta1
59-
kind: MachinePool
60-
metadata:
61-
name: "${CLUSTER_NAME}-pool-0"
62-
spec:
63-
clusterName: "${CLUSTER_NAME}"
64-
replicas: ${WORKER_MACHINE_COUNT}
65-
template:
66-
spec:
67-
clusterName: "${CLUSTER_NAME}"
68-
bootstrap:
69-
dataSecretName: ""
70-
infrastructureRef:
71-
name: "${CLUSTER_NAME}-pool-0"
72-
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
73-
kind: AWSManagedMachinePool
74-
---
75-
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
76-
kind: AWSManagedMachinePool
77-
metadata:
78-
name: "${CLUSTER_NAME}-pool-0"
79-
spec: {}

test/e2e/suites/managed/eks_ipv6_test.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ var _ = ginkgo.Describe("[managed] [general] [ipv6] EKS cluster tests", func() {
7171
Namespace: namespace,
7272
ClusterName: clusterName,
7373
Flavour: EKSIPv6ClusterFlavor,
74-
ControlPlaneMachineCount: 1, //NOTE: this cannot be zero as clusterctl returns an error
74+
ControlPlaneMachineCount: 1, // NOTE: this cannot be zero as clusterctl returns an error
7575
WorkerMachineCount: 0,
7676
}
7777
})
@@ -85,8 +85,11 @@ var _ = ginkgo.Describe("[managed] [general] [ipv6] EKS cluster tests", func() {
8585
AWSSession: e2eCtx.BootstrapUserAWSSession,
8686
Namespace: namespace,
8787
ClusterName: clusterName,
88+
IncludeScaling: false,
89+
Cleanup: false,
8890
ManagedMachinePool: true,
89-
Flavor: EKSIPv6ClusterFlavor,
91+
Flavor: EKSManagedMachinePoolOnlyFlavor,
92+
UsesLaunchTemplate: false,
9093
}
9194
})
9295

0 commit comments

Comments
 (0)