mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
kubeadm: make pre-release warning log less confusing
This commit is contained in:
parent
acc64759f5
commit
719c1d2680
@ -125,8 +125,8 @@ func NormalizeKubernetesVersion(cfg *kubeadmapi.ClusterConfiguration) error {
|
||||
mcpVersion := constants.MinimumControlPlaneVersion
|
||||
versionInfo := componentversion.Get()
|
||||
if isKubeadmPrereleaseVersion(&versionInfo, k8sVersion, mcpVersion) {
|
||||
klog.V(1).Infof("WARNING: tolerating control plane version %s, assuming that k8s version %s is not released yet",
|
||||
cfg.KubernetesVersion, mcpVersion)
|
||||
klog.V(1).Infof("WARNING: tolerating control plane version %s as a pre-release version", cfg.KubernetesVersion)
|
||||
|
||||
return nil
|
||||
}
|
||||
// If not a pre-release version, handle the validation normally.
|
||||
|
Loading…
Reference in New Issue
Block a user