You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
out.WarningT("Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube config defaults kubernetes-version` for details.", out.V{"specified": nvs, "newest": constants.NewestKubernetesVersion})
exit.Error(reason.KubernetesNotConnect, "error fetching Kubernetes version list from GitHub", err)
1740
+
}
1741
+
iffound {
1742
+
out.Styled(style.Check, "Kubernetes version {{.specified}} found in GitHub version list", out.V{"specified": nvs})
1743
+
} elseif!viper.GetBool(force) {
1744
+
out.WarningT("Kubernetes version not found in GitHub version list. You can force a Kubernetes version via the --force flag")
1745
+
exitIfNotForced(reason.KubernetesTooNew, "Kubernetes version {{.version}} is not supported by this release of minikube", out.V{"version": nvs})
1746
+
}
1747
+
}
1732
1748
}
1733
1749
ifnvs.LT(oldestVersion) {
1734
1750
out.WarningT("Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube config defaults kubernetes-version` for details.", out.V{"specified": nvs, "oldest": constants.OldestKubernetesVersion})
@@ -1995,3 +2011,14 @@ func startNerdctld() {
1995
2011
exit.Error(reason.StartNerdctld, fmt.Sprintf("Failed to set up DOCKER_HOST: %s", out.Output()), err)
1996
2012
}
1997
2013
}
2014
+
2015
+
// contains checks whether the parameter slice contains the parameter string
0 commit comments