mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #90998 from thockin/fix_license_again_again
Force LICENSES refresh on GCE images
This commit is contained in:
commit
1cad79ee2e
@ -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