kubeadm: update constants for 1.18

- Include 1.19 as a supported etcd mapping.
- Update minimum and current versions.
This commit is contained in:
Lubomir I. Ivanov 2020-02-19 21:40:46 +02:00
parent d4c5637680
commit 22319019ab

View File

@ -411,13 +411,13 @@ var (
ControlPlaneComponents = []string{KubeAPIServer, KubeControllerManager, KubeScheduler}
// MinimumControlPlaneVersion specifies the minimum control plane version kubeadm can deploy
MinimumControlPlaneVersion = version.MustParseSemantic("v1.16.0")
MinimumControlPlaneVersion = version.MustParseSemantic("v1.17.0")
// MinimumKubeletVersion specifies the minimum version of kubelet which kubeadm supports
MinimumKubeletVersion = version.MustParseSemantic("v1.16.0")
MinimumKubeletVersion = version.MustParseSemantic("v1.17.0")
// CurrentKubernetesVersion specifies current Kubernetes version supported by kubeadm
CurrentKubernetesVersion = version.MustParseSemantic("v1.17.0")
CurrentKubernetesVersion = version.MustParseSemantic("v1.18.0")
// SupportedEtcdVersion lists officially supported etcd versions with corresponding Kubernetes releases
SupportedEtcdVersion = map[uint8]string{
@ -427,6 +427,7 @@ var (
16: "3.3.17-0",
17: "3.4.3-0",
18: "3.4.3-0",
19: "3.4.3-0",
}
// KubeadmCertsClusterRoleName sets the name for the ClusterRole that allows