Resolve TODO in /pkg/model/component/context.go

This commit is contained in:
Shukun 2020-02-17 17:52:22 +09:00
parent fd99b3b42f
commit c907df426a
1 changed files with 0 additions and 5 deletions

View File

@ -139,11 +139,6 @@ func Image(component string, architecture string, clusterSpec *kops.ClusterSpec,
if assetsBuilder == nil {
return "", fmt.Errorf("unable to parse assets as assetBuilder is not defined")
}
// TODO remove this, as it is an addon now
if component == "kube-dns" {
// TODO: Once we are shipping different versions, start to use them
return "k8s.gcr.io/kubedns-amd64:1.3", nil
}
kubernetesVersion, err := k8sversion.Parse(clusterSpec.KubernetesVersion)
if err != nil {