Merge pull request #116718 from dims/move-the-arm-deprecation-notice-elsewhere

Move the arm deprecation notice in a different spot
This commit is contained in:
Kubernetes Prow Robot 2023-03-17 14:01:16 -07:00 committed by GitHub
commit 05740daeed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,8 +248,6 @@ kube::golang::setup_platforms() {
fi
}
kube::log::status "WARNING: linux/arm will no longer be built/shipped by default, please build it explicitly if needed."
kube::log::status " support for linux/arm will be removed in a subsequent release."
kube::golang::setup_platforms
# The set of client targets that we are building for all platforms
@ -885,6 +883,9 @@ kube::golang::build_binaries() {
IFS=" " read -ra platforms <<< "${KUBE_BUILD_PLATFORMS:-}"
if [[ ${#platforms[@]} -eq 0 ]]; then
platforms=("${host_platform}")
else
kube::log::status "WARNING: linux/arm will no longer be built/shipped by default, please build it explicitly if needed."
kube::log::status " support for linux/arm will be removed in a subsequent release."
fi
local -a binaries