build: Adds Windows kube-proxy image

Adds the KUBE_BUILD_WINDOWS option to make release-images and quick-release-images,
which will allow it to build the a Windows kube-proxy image as well. That image can
then be used with Windows Host Process Containers to start the kube-proxy
service on Windows nodes.
This commit is contained in:
Claudiu Belu
2021-12-17 11:33:51 +00:00
parent 96a5cfe513
commit 3b0cec323e
6 changed files with 105 additions and 30 deletions

View File

@@ -101,7 +101,8 @@ kube::golang::server_image_targets() {
IFS=" " read -ra KUBE_SERVER_IMAGE_TARGETS <<< "$(kube::golang::server_image_targets)"
readonly KUBE_SERVER_IMAGE_TARGETS
readonly KUBE_SERVER_IMAGE_BINARIES=("${KUBE_SERVER_IMAGE_TARGETS[@]##*/}")
readonly KUBE_SERVER_LINUX_IMAGE_BINARIES=("${KUBE_SERVER_IMAGE_TARGETS[@]##*/}")
readonly KUBE_SERVER_WINDOWS_IMAGE_BINARIES=("kube-proxy.exe")
# The set of conformance targets we build docker image for
kube::golang::conformance_image_targets() {