Merge pull request #8579 from sshukun/remove-todo

Resolve TODO in /pkg/model/component/context.go
This commit is contained in:
Kubernetes Prow Robot 2020-02-22 07:14:47 -08:00 committed by GitHub
commit 3d4b857218
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 {