Move the arm deprecation notice in a different spot

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas 2023-03-17 10:12:27 -04:00
parent 8b2dae57d4
commit 26313ed2b0
No known key found for this signature in database
GPG Key ID: 80D83A796103BF59

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