From c254778f399d303d8c81d9068a5a8a930dea38a0 Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Fri, 21 Aug 2020 10:45:23 -0700 Subject: [PATCH] Update CoreDNS and etcd images for Kubernetes v1.19 --- pkg/minikube/bootstrapper/images/images.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkg/minikube/bootstrapper/images/images.go b/pkg/minikube/bootstrapper/images/images.go index b066dcc8bb..6cf71f0e07 100644 --- a/pkg/minikube/bootstrapper/images/images.go +++ b/pkg/minikube/bootstrapper/images/images.go @@ -66,8 +66,10 @@ func componentImage(name string, v semver.Version, mirror string) string { func coreDNS(v semver.Version, mirror string) string { // Should match `CoreDNSVersion` in // https://github.com/kubernetes/kubernetes/blob/master/cmd/kubeadm/app/constants/constants.go - cv := "1.6.7" + cv := "1.7.0" switch v.Minor { + case 18: + cv = "1.6.7" case 17: cv = "1.6.5" case 16: @@ -94,8 +96,10 @@ func etcd(v semver.Version, mirror string) string { // Should match `DefaultEtcdVersion` in: // https://github.com/kubernetes/kubernetes/blob/master/cmd/kubeadm/app/constants/constants.go - ev := "3.4.3-0" + ev := "3.4.9-1" switch v.Minor { + case 17, 18: + ev = "3.4.3-0" case 16: ev = "3.3.15-0" case 14, 15: