mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-03 10:17:46 +00:00
Merge pull request #105399 from mopsfelder/ppc64le
Allow fast builds on ppc64le
This commit is contained in:
@@ -211,8 +211,8 @@ kube::golang::setup_platforms() {
|
|||||||
|
|
||||||
elif [[ "${KUBE_FASTBUILD:-}" == "true" ]]; then
|
elif [[ "${KUBE_FASTBUILD:-}" == "true" ]]; then
|
||||||
host_arch=$(kube::util::host_arch)
|
host_arch=$(kube::util::host_arch)
|
||||||
if [[ "${host_arch}" != "amd64" && "${host_arch}" != "arm64" ]]; then
|
if [[ "${host_arch}" != "amd64" && "${host_arch}" != "arm64" && "${host_arch}" != "ppc64le" ]]; then
|
||||||
# on any platform other than amd64 and arm64, we just default to amd64
|
# on any platform other than amd64, arm64 and ppc64le, we just default to amd64
|
||||||
host_arch="amd64"
|
host_arch="amd64"
|
||||||
fi
|
fi
|
||||||
KUBE_SERVER_PLATFORMS=("linux/${host_arch}")
|
KUBE_SERVER_PLATFORMS=("linux/${host_arch}")
|
||||||
|
Reference in New Issue
Block a user