mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
Move default target list from build_go to config_go
This commit is contained in:
parent
516de0550a
commit
4ba97e3968
@ -48,14 +48,7 @@ for arg; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [[ ${#targets[@]} -eq 0 ]]; then
|
if [[ ${#targets[@]} -eq 0 ]]; then
|
||||||
targets=(
|
targets=($(kube::default_build_targets))
|
||||||
cmd/proxy
|
|
||||||
cmd/apiserver
|
|
||||||
cmd/controller-manager
|
|
||||||
cmd/kubelet
|
|
||||||
cmd/kubecfg
|
|
||||||
plugin/cmd/scheduler
|
|
||||||
)
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
binaries=()
|
binaries=()
|
||||||
|
@ -114,6 +114,15 @@ kube::setup_go_environment() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# kube::default_build_targets return list of all build targets
|
||||||
|
kube::default_build_targets() {
|
||||||
|
echo "cmd/proxy"
|
||||||
|
echo "cmd/apiserver"
|
||||||
|
echo "cmd/controller-manager"
|
||||||
|
echo "cmd/kubelet"
|
||||||
|
echo "cmd/kubecfg"
|
||||||
|
echo "plugin/cmd/scheduler"
|
||||||
|
}
|
||||||
# --- Environment Variables ---
|
# --- Environment Variables ---
|
||||||
|
|
||||||
# KUBE_REPO_ROOT - Path to the top of the build tree.
|
# KUBE_REPO_ROOT - Path to the top of the build tree.
|
||||||
|
Loading…
Reference in New Issue
Block a user