Commit 4d27f999 authored by Wojciech Tyczynski's avatar Wojciech Tyczynski

Avoid unnecessary copies on GCI initialization.

parent 5c1e1573
......@@ -157,10 +157,8 @@ function install-kube-binary-config {
rm -f "${KUBE_HOME}/${cni_tar}"
fi
cp "${KUBE_HOME}/kubernetes/LICENSES" "${KUBE_HOME}"
cp "${KUBE_HOME}/kubernetes/kubernetes-src.tar.gz" "${KUBE_HOME}"
chmod a+r "${KUBE_HOME}/kubernetes/LICENSES"
chmod a+r "${KUBE_HOME}/kubernetes/kubernetes-src.tar.gz"
mv "${KUBE_HOME}/kubernetes/LICENSES" "${KUBE_HOME}"
mv "${KUBE_HOME}/kubernetes/kubernetes-src.tar.gz" "${KUBE_HOME}"
# Put kube-system pods manifests in ${KUBE_HOME}/kube-manifests/.
dst_dir="${KUBE_HOME}/kube-manifests"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment