@@ -36,12 +36,11 @@ import (
3636// General EKS e2e test.
3737var _ = ginkgo .Describe ("[managed] [general] EKS cluster tests" , func () {
3838 var (
39- namespace * corev1.Namespace
40- ctx context.Context
41- specName = "cluster"
42- clusterName string
43- cniAddonName = "vpc-cni"
44- corednsAddonName = "coredns"
39+ namespace * corev1.Namespace
40+ ctx context.Context
41+ specName = "cluster"
42+ clusterName string
43+ cniAddonName = "vpc-cni"
4544 )
4645
4746 shared .ConditionalIt (runGeneralTests , "should create a cluster and add nodes" , func () {
@@ -50,7 +49,6 @@ var _ = ginkgo.Describe("[managed] [general] EKS cluster tests", func() {
5049 Expect (e2eCtx .E2EConfig ).ToNot (BeNil (), "Invalid argument. e2eConfig can't be nil when calling %s spec" , specName )
5150 Expect (e2eCtx .E2EConfig .Variables ).To (HaveKey (shared .KubernetesVersion ))
5251 Expect (e2eCtx .E2EConfig .Variables ).To (HaveKey (shared .CNIAddonVersion ))
53- Expect (e2eCtx .E2EConfig .Variables ).To (HaveKey (shared .CorednsAddonVersion ))
5452
5553 ctx = context .TODO ()
5654 namespace = shared .SetupSpecNamespace (ctx , specName , e2eCtx )
@@ -70,7 +68,7 @@ var _ = ginkgo.Describe("[managed] [general] EKS cluster tests", func() {
7068 Namespace : namespace ,
7169 ClusterName : clusterName ,
7270 Flavour : EKSControlPlaneOnlyWithAddonFlavor ,
73- ControlPlaneMachineCount : 1 , //NOTE: this cannot be zero as clusterctl returns an error
71+ ControlPlaneMachineCount : 1 , // NOTE: this cannot be zero as clusterctl returns an error
7472 WorkerMachineCount : 0 ,
7573 }
7674 })
@@ -99,20 +97,6 @@ var _ = ginkgo.Describe("[managed] [general] EKS cluster tests", func() {
9997 }
10098 })
10199
102- ginkgo .By ("should have the Coredns addon installed" )
103- CheckAddonExistsSpec (ctx , func () CheckAddonExistsSpecInput {
104- return CheckAddonExistsSpecInput {
105- E2EConfig : e2eCtx .E2EConfig ,
106- BootstrapClusterProxy : e2eCtx .Environment .BootstrapClusterProxy ,
107- AWSSession : e2eCtx .BootstrapUserAWSSession ,
108- Namespace : namespace ,
109- ClusterName : clusterName ,
110- AddonName : corednsAddonName ,
111- AddonVersion : e2eCtx .E2EConfig .GetVariable (shared .CorednsAddonVersion ),
112- AddonConfiguration : e2eCtx .E2EConfig .GetVariable (shared .CorednsAddonConfiguration ),
113- }
114- })
115-
116100 ginkgo .By ("should create a MachineDeployment" )
117101 MachineDeploymentSpec (ctx , func () MachineDeploymentSpecInput {
118102 return MachineDeploymentSpecInput {
0 commit comments