kubernetes/cmd/kubeadm
Thomas Riccardi 068cdaa56c Recognize newer docker versions without -ce/-ee suffix
Since docker 18.09, the ServerVersion field format changed: the `-ce`
or `-ee` suffix disappeared:

- docker 18.06: `18.06.1-ce`
- docker 18.09: `18.09.0`

This was not expected by the docker_validator version regexp, which
assumed newer docker versions ended with `-[a-z]{2}`.
This made the validator return an error, whereas we expect it to
return only a warning (by recognizing it as a newer but not yet
supported docker version).

This commit relax the version regexp to also recognize `18.09.0`.
The docker validator now returns a warning, as tested.
2018-11-13 18:55:29 +01:00
..
app Recognize newer docker versions without -ce/-ee suffix 2018-11-13 18:55:29 +01:00
test kubeadm: InitConfiguration.APIEndpoint -> LocalAPIEndpoint 2018-11-09 14:47:21 +02:00
.import-restrictions Move from glog to klog 2018-11-10 07:50:31 -05:00
BUILD Move from glog to klog 2018-11-10 07:50:31 -05:00
kubeadm.go Move from glog to klog 2018-11-10 07:50:31 -05:00
OWNERS cmd/kubeadm: add neolit123 as reviewer 2018-10-01 19:11:31 +03:00