Merge pull request #4443 from zacblazic/update-default-docker-in-k8s-1.8

Set the default docker for kubernetes 1.9 to 17.03.2
This commit is contained in:
Justin Santa Barbara 2018-02-28 00:23:18 -05:00 committed by GitHub
commit b2fa0bfa09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,9 @@ func (b *DockerOptionsBuilder) BuildOptions(o interface{}) error {
}
dockerVersion := ""
if sv.Major == 1 && sv.Minor >= 8 {
if sv.Major == 1 && sv.Minor >= 9 {
dockerVersion = "17.03.2"
} else if sv.Major == 1 && sv.Minor >= 8 {
dockerVersion = "1.13.1"
} else if sv.Major == 1 && sv.Minor >= 6 {
dockerVersion = "1.12.6"