Fix build break - Hyperkube image needs kubelet/kubectl

`make quick-release-images KUBE_BUILD_CONFORMANCE=n` was broken since we
modified hyperkube to use actual binaries from a script. Temporarily
build the two additional binaries needed until we remove hyperkube image
completely. Added a TODO as a reminder
This commit is contained in:
Davanum Srinivas 2019-12-13 12:30:40 -05:00
parent 5b77616374
commit bfd20c9e08
No known key found for this signature in database
GPG Key ID: 80D83A796103BF59

View File

@ -30,6 +30,9 @@ if [[ "${KUBE_BUILD_CONFORMANCE}" =~ [yY] ]]; then
CMD_TARGETS="${CMD_TARGETS} ${KUBE_CONFORMANCE_IMAGE_TARGETS[*]}"
fi
# TODO(dims): Remove this when we get rid of hyperkube image
CMD_TARGETS="${CMD_TARGETS} cmd/kubelet cmd/kubectl"
kube::build::verify_prereqs
kube::build::build_image
kube::build::run_build_command make all WHAT="${CMD_TARGETS}" KUBE_BUILD_PLATFORMS="${KUBE_SERVER_PLATFORMS[*]}"