From 9f16ff632f7f999d48d1d6513a08ff3a0b30c8dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Fri, 15 Oct 2021 21:40:09 +0200 Subject: [PATCH] Add kubeadm image versions for kubernetes 1.23 --- pkg/minikube/bootstrapper/images/images.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/minikube/bootstrapper/images/images.go b/pkg/minikube/bootstrapper/images/images.go index d6b10356d6..ae2041aeb8 100644 --- a/pkg/minikube/bootstrapper/images/images.go +++ b/pkg/minikube/bootstrapper/images/images.go @@ -31,8 +31,11 @@ func Pause(v semver.Version, mirror string) string { // Note: changing this logic requires bumping the preload version // Should match `PauseVersion` in: // https://github.com/kubernetes/kubernetes/blob/master/cmd/kubeadm/app/constants/constants.go - pv := "3.5" + pv := "3.6" // https://github.com/kubernetes/kubernetes/blob/master/cmd/kubeadm/app/constants/constants_unix.go + if semver.MustParseRange("<1.23.0-alpha.2")(v) { + pv = "3.5" + } if semver.MustParseRange("<1.22.0-alpha.3")(v) { pv = "3.4.1" }