Bump the minimum kubeadm control plane version to v1.6.0-alpha.2

This commit is contained in:
Lucas Käldström 2017-02-15 20:09:56 +02:00
parent fbc94c0896
commit 62dcce6c39
No known key found for this signature in database
GPG Key ID: 3FA3783D77751514
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ func setInitDynamicDefaults(cfg *kubeadmapi.MasterConfiguration) error {
return fmt.Errorf("couldn't parse kubernetes version %q: %v", cfg.KubernetesVersion, err)
}
if k8sVersion.LT(minK8sVersion) {
return fmt.Errorf("this version of kubeadm only supports deploying clusters with the control plane version >= v1.6.0-alpha.1. Current version: %s", cfg.KubernetesVersion)
return fmt.Errorf("this version of kubeadm only supports deploying clusters with the control plane version >= v%s. Current version: %s", kubeadmconstants.MinimumControlPlaneVersion, cfg.KubernetesVersion)
}
fmt.Printf("[init] Using Kubernetes version: %s\n", cfg.KubernetesVersion)

View File

@ -44,7 +44,7 @@ const (
AuthzModeWebhook = "Webhook"
// Important: a "v"-prefix shouldn't exist here; semver doesn't allow that
MinimumControlPlaneVersion = "1.6.0-alpha.1"
MinimumControlPlaneVersion = "1.6.0-alpha.2"
// Constants for what we name our ServiceAccounts with limited access to the cluster in case of RBAC
KubeDNSServiceAccountName = "kube-dns"