Files
kubernetes/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-05-04 17:02:20 -04:00
2018-06-22 16:22:57 -07:00
2018-05-04 17:02:20 -04:00
2018-10-09 10:27:27 +08:00
2018-08-16 09:59:33 +08:00
2018-02-15 12:01:00 -08:00