Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

fix: use hotfix Windows builds for 1.18.4, 1.17.7, and 1.16.11 #3510

Merged
merged 1 commit into from Jun 19, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 16 additions & 1 deletion pkg/api/k8s_versions.go
Expand Up @@ -348,11 +348,26 @@ func GetK8sComponentsByVersionMap(k *KubernetesConfig) map[string]map[string]str
}

func getVersionOverridesMCR(v string) map[string]string {
return nil
switch v {
case "1.18.4":
return map[string]string{common.WindowsArtifactComponentName: "v1.18.4-hotfix.20200617/windowszip/v1.18.4-hotfix.20200617-1int.zip"}
case "1.17.7":
return map[string]string{common.WindowsArtifactComponentName: "v1.17.7-hotfix.20200617/windowszip/v1.17.7-hotfix.20200617-1int.zip"}
case "1.16.11":
return map[string]string{common.WindowsArtifactComponentName: "v1.16.11-hotfix.20200617/windowszip/v1.16.11-hotfix.20200617-1int.zip"}
default:
return nil
}
}

func getVersionOverridesGCR(v string) map[string]string {
switch v {
case "1.18.4":
return map[string]string{common.WindowsArtifactComponentName: "v1.18.4-hotfix.20200617/windowszip/v1.18.4-hotfix.20200617-1int.zip"}
case "1.17.7":
return map[string]string{common.WindowsArtifactComponentName: "v1.17.7-hotfix.20200617/windowszip/v1.17.7-hotfix.20200617-1int.zip"}
case "1.16.11":
return map[string]string{common.WindowsArtifactComponentName: "v1.16.11-hotfix.20200617/windowszip/v1.16.11-hotfix.20200617-1int.zip"}
case "1.8.11":
return map[string]string{common.KubeDNSAddonName: "k8s-dns-kube-dns-amd64:1.14.9"}
case "1.8.9":
Expand Down