diff --git a/test/e2e/data/eks/cluster-template-eks-control-plane-only-withaddon.yaml b/test/e2e/data/eks/cluster-template-eks-control-plane-only-withaddon.yaml index 9108b38f3a..66ddf183a3 100644 --- a/test/e2e/data/eks/cluster-template-eks-control-plane-only-withaddon.yaml +++ b/test/e2e/data/eks/cluster-template-eks-control-plane-only-withaddon.yaml @@ -40,10 +40,6 @@ spec: - name: "vpc-cni" version: "${VPC_ADDON_VERSION}" conflictResolution: "overwrite" - - name: "coredns" - version: "${COREDNS_ADDON_VERSION}" - conflictResolution: "overwrite" - configuration: '${COREDNS_ADDON_CONFIGURATION}' identityRef: kind: AWSClusterStaticIdentity name: e2e-account diff --git a/test/e2e/suites/managed/eks_test.go b/test/e2e/suites/managed/eks_test.go index 39a1eaa150..13c985f49d 100644 --- a/test/e2e/suites/managed/eks_test.go +++ b/test/e2e/suites/managed/eks_test.go @@ -37,12 +37,11 @@ import ( // General EKS e2e test. var _ = ginkgo.Describe("[managed] [general] EKS cluster tests", func() { var ( - namespace *corev1.Namespace - ctx context.Context - specName = "cluster" - clusterName string - cniAddonName = "vpc-cni" - corednsAddonName = "coredns" + namespace *corev1.Namespace + ctx context.Context + specName = "cluster" + clusterName string + cniAddonName = "vpc-cni" ) shared.ConditionalIt(runGeneralTests, "should create a cluster and add nodes", func() { @@ -71,7 +70,7 @@ var _ = ginkgo.Describe("[managed] [general] EKS cluster tests", func() { Namespace: namespace, ClusterName: clusterName, Flavour: EKSControlPlaneOnlyWithAddonFlavor, - ControlPlaneMachineCount: 1, //NOTE: this cannot be zero as clusterctl returns an error + ControlPlaneMachineCount: 1, // NOTE: this cannot be zero as clusterctl returns an error WorkerMachineCount: 0, } }) @@ -107,20 +106,6 @@ var _ = ginkgo.Describe("[managed] [general] EKS cluster tests", func() { } }) - ginkgo.By("should have the Coredns addon installed") - CheckAddonExistsSpec(ctx, func() CheckAddonExistsSpecInput { - return CheckAddonExistsSpecInput{ - E2EConfig: e2eCtx.E2EConfig, - BootstrapClusterProxy: e2eCtx.Environment.BootstrapClusterProxy, - AWSSession: e2eCtx.BootstrapUserAWSSession, - Namespace: namespace, - ClusterName: clusterName, - AddonName: corednsAddonName, - AddonVersion: e2eCtx.E2EConfig.GetVariable(shared.CorednsAddonVersion), - AddonConfiguration: e2eCtx.E2EConfig.GetVariable(shared.CorednsAddonConfiguration), - } - }) - ginkgo.By("should create a MachineDeployment") MachineDeploymentSpec(ctx, func() MachineDeploymentSpecInput { return MachineDeploymentSpecInput{