Merge pull request #1969 from r2d4/kubeadm-use-right-kubelet
Don't check kubernetes-version for kubeadmpull/1970/head
commit
17ecbcd76e
|
@ -115,7 +115,8 @@ func runStart(cmd *cobra.Command, args []string) {
|
|||
os.Exit(1)
|
||||
}
|
||||
|
||||
if k8sVersion != constants.DefaultKubernetesVersion {
|
||||
// Don't verify version for kubeadm bootstrapped clusters
|
||||
if k8sVersion != constants.DefaultKubernetesVersion && clusterBootstrapper != bootstrapper.BootstrapperTypeKubeadm {
|
||||
validateK8sVersion(k8sVersion)
|
||||
}
|
||||
|
||||
|
|
|
@ -153,8 +153,10 @@ const (
|
|||
func GetKubernetesReleaseURL(binaryName, version string) string {
|
||||
// TODO(r2d4): change this to official releases when the alpha controlplane commands are released.
|
||||
// We are working with unreleased kubeadm changes at HEAD.
|
||||
return fmt.Sprintf("https://storage.googleapis.com/minikube-builds/v1.7.3/%s", binaryName)
|
||||
// return fmt.Sprintf("https://storage.googleapis.com/kubernetes-release/release/%s/bin/linux/amd64/%s", version, binaryName)
|
||||
if binaryName == "kubeadm" {
|
||||
return "https://storage.googleapis.com/minikube/kubeadm/kubeadm"
|
||||
}
|
||||
return fmt.Sprintf("https://storage.googleapis.com/kubernetes-release/release/%s/bin/linux/amd64/%s", version, binaryName)
|
||||
}
|
||||
|
||||
func GetKubernetesReleaseURLSha1(binaryName, version string) string {
|
||||
|
|
Loading…
Reference in New Issue