mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Force LICENSES refresh on GCE images
Some test images have it baked in.
This commit is contained in:
parent
9b44fa4a07
commit
d681a04541
@ -573,6 +573,9 @@ function install-kube-binary-config {
|
|||||||
mv "${src_dir}/kubelet" "${KUBE_BIN}"
|
mv "${src_dir}/kubelet" "${KUBE_BIN}"
|
||||||
mv "${src_dir}/kubectl" "${KUBE_BIN}"
|
mv "${src_dir}/kubectl" "${KUBE_BIN}"
|
||||||
|
|
||||||
|
# Some older images have LICENSES baked-in as a file. Presumably they will
|
||||||
|
# have the directory baked-in eventually.
|
||||||
|
rm -rf "${KUBE_HOME}"/LICENSES
|
||||||
mv "${KUBE_HOME}/kubernetes/LICENSES" "${KUBE_HOME}"
|
mv "${KUBE_HOME}/kubernetes/LICENSES" "${KUBE_HOME}"
|
||||||
mv "${KUBE_HOME}/kubernetes/kubernetes-src.tar.gz" "${KUBE_HOME}"
|
mv "${KUBE_HOME}/kubernetes/kubernetes-src.tar.gz" "${KUBE_HOME}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user