Files
kubernetes/cmd/kubeadm/app/cmd
Lubomir I. Ivanov fa9940c71c kubeadm: modify SetKubernetesVersion
Without this patch SetKubernetesVersion does not set
a version in all locations where it's called, because
the passed config to it always has a default version
stable-1.

This always triggers the != "" check and the function
returns without setting a version.

Validate against DefaultKubernetesVersion and "" instead.

This fixes all cases where fetching a version from the internet
is not needed at all - e.g. "kubeadm token create".

Also make SetKubernetesVersion default to version.Get().String()
and add unit tests for the function.
2018-10-13 17:16:22 +03:00
..
2018-10-04 13:20:20 +02:00
2018-10-12 09:33:07 +02:00
2018-10-04 13:20:20 +02:00
2018-10-13 17:16:22 +03:00
2018-10-13 17:16:22 +03:00