add note about not adding to rsync invocations

This commit is contained in:
Benjamin Elder
2024-08-05 13:54:49 -07:00
parent 33a58e4bef
commit d4e1d13480

View File

@@ -677,6 +677,8 @@ function kube::build::sync_to_container() {
# are hidden from rsync so they will be deleted in the target container if
# they exist. This will allow them to be re-created in the container if
# necessary.
# PLEASE DO NOT ADD TO THIS
# https://github.com/kubernetes/kubernetes/issues/112862
kube::build::rsync \
--delete \
--filter='- /_tmp/' \
@@ -701,6 +703,8 @@ function kube::build::copy_output() {
#
# We are looking to copy out all of the built binaries along with various
# generated files.
# PLEASE DO NOT ADD TO THIS
# https://github.com/kubernetes/kubernetes/issues/112862
kube::build::rsync \
--prune-empty-dirs \
--filter='- /_temp/' \