From 7c83baf774bbe91d42bfa88c376feb20eece9eb0 Mon Sep 17 00:00:00 2001 From: Sylvain Boily <4981802+djsly@users.noreply.github.com> Date: Thu, 10 Oct 2024 17:30:55 -0400 Subject: [PATCH] one more --- pkg/agent/baker_test.go | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/pkg/agent/baker_test.go b/pkg/agent/baker_test.go index 89dfe13d96f..1daf836d51c 100644 --- a/pkg/agent/baker_test.go +++ b/pkg/agent/baker_test.go @@ -1561,21 +1561,7 @@ var _ = Describe("Assert generated customData and cseCmd for Windows", func() { agentPool := cs.Properties.AgentPoolProfiles[0] - fullK8sComponentsMap := K8sComponentsByVersionMap[cs.Properties.OrchestratorProfile.OrchestratorVersion] - pauseImage := cs.Properties.OrchestratorProfile.KubernetesConfig.MCRKubernetesImageBase + fullK8sComponentsMap["pause"] - - hyperkubeImageBase := cs.Properties.OrchestratorProfile.KubernetesConfig.KubernetesImageBase - hyperkubeImage := hyperkubeImageBase + fullK8sComponentsMap["hyperkube"] - if cs.Properties.OrchestratorProfile.KubernetesConfig.CustomHyperkubeImage != "" { - hyperkubeImage = cs.Properties.OrchestratorProfile.KubernetesConfig.CustomHyperkubeImage - } - - windowsPackage := datamodel.AzurePublicCloudSpecForTest.KubernetesSpecConfig.KubeBinariesSASURLBase + fullK8sComponentsMap["windowszip"] - k8sComponents := &datamodel.K8sComponents{ - PodInfraContainerImageURL: pauseImage, - HyperkubeImageURL: hyperkubeImage, - WindowsPackageURL: windowsPackage, - } + k8sComponents := &datamodel.K8sComponents{} if IsKubernetesVersionGe(k8sVersion, "1.29.0") { // This is test only, credential provider version does not align with k8s version