Add support for dockerless builds in kind

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas
2020-05-09 21:15:05 -04:00
parent a75d2451a5
commit ee025c9b28

View File

@@ -107,9 +107,10 @@ func (b *DockerBuildBits) build() error {
"KUBE_BUILD_CONFORMANCE=n",
// build for the host platform
"KUBE_BUILD_PLATFORMS=" + dockerBuildOsAndArch(b.arch),
// leverage in-tree-cloud-provider-free builds by default
// leverage in-tree-cloud-provider-free and docker-free builds by default
// https://github.com/kubernetes/kubernetes/pull/80353
"GOFLAGS=-tags=providerless",
// https://github.com/kubernetes/kubernetes/pull/87746
"GOFLAGS=-tags=providerless,dockerless",
},
os.Environ()...,
)