Skip to content

Commit

Permalink
Merge pull request #12717 from afbjorklund/kubeadm-pause
Browse files Browse the repository at this point in the history
Add kubeadm image versions for kubernetes 1.23
  • Loading branch information
medyagh authored Oct 19, 2021
2 parents c11ecd2 + 9f16ff6 commit b5f8781
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/minikube/bootstrapper/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit b5f8781

Please sign in to comment.