Skip to content

Commit

Permalink
one more
Browse files Browse the repository at this point in the history
  • Loading branch information
djsly committed Oct 10, 2024
1 parent 976009d commit 7c83baf
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions pkg/agent/baker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c83baf

Please sign in to comment.