kubernetes/cmd/kubeadm/app/util/system
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
..
specs Fix kubeadm checks import error 2018-07-13 14:27:46 +08:00
BUILD Move from glog to klog 2018-11-10 07:50:31 -05:00
cgroup_validator_test.go Fix kubeadm checks import error 2018-07-13 14:27:46 +08:00
cgroup_validator.go [kubeadm/app/]switch to github.com/pkg/errors 2018-10-30 16:23:24 +08:00
docker_validator_test.go Recognize newer docker versions without -ce/-ee suffix 2018-11-13 18:55:29 +01:00
docker_validator.go Recognize newer docker versions without -ce/-ee suffix 2018-11-13 18:55:29 +01:00
kernel_validator_helper.go Fix kubeadm checks import error 2018-07-13 14:27:46 +08:00
kernel_validator_test.go Fix kubeadm checks import error 2018-07-13 14:27:46 +08:00
kernel_validator.go Move from glog to klog 2018-11-10 07:50:31 -05:00
os_validator_test.go Fix kubeadm checks import error 2018-07-13 14:27:46 +08:00
os_validator.go [kubeadm/app/]switch to github.com/pkg/errors 2018-10-30 16:23:24 +08:00
package_validator_test.go [kubeadm/app/]switch to github.com/pkg/errors 2018-10-30 16:23:24 +08:00
package_validator.go Move from glog to klog 2018-11-10 07:50:31 -05:00
report.go [kubeadm/app/]switch to github.com/pkg/errors 2018-10-30 16:23:24 +08:00
types_unix.go kubeadm: fix broken Docker 17.xx validation 2018-09-21 01:00:53 +03:00
types_windows.go improve the expression of some comments 2018-11-01 17:44:37 +08:00
types.go Fix kubeadm checks import error 2018-07-13 14:27:46 +08:00
validators.go kubeadm 883 Updated logging to be consistent. There where areas in kubeadm init where glog was used and glog and was inconsistent with the rest of kubeadm init logging. 2018-09-11 16:28:55 -04:00