containerd/internal/cri/server
Zhang Tianyang 5611db5309 cri: Make sure host sandbox files exist before adding them to mounts
As `setupSandboxFiles` was done in sandbox controller, it is difficult
here to know if the sandbox controller has done and where the host path
in. Make sure the host path exists before adding them to linux container
mounts, otherwise, the container would generate some unnecessary mounts.

Signed-off-by: Zhang Tianyang <burning9699@gmail.com>
2024-02-19 20:40:24 +08:00
..
images Merge pull request #9815 from kiashok/updateCRIServicePull 2024-02-15 00:38:40 +00:00
podsandbox Pass runtimehandler from CRI pull image request 2024-02-14 13:31:23 -08:00
blockio_linux.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
blockio_stub.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
cni_conf_syncer.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_attach.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_checkpoint.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_create_linux_test.go Revert "cri: make read-only mounts recursively read-only" 2024-02-04 01:17:14 +09:00
container_create_linux.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_create_other_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_create_other.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_create_test.go cri: Make sure host sandbox files exist before adding them to mounts 2024-02-19 20:40:24 +08:00
container_create_windows_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_create_windows.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_create.go cri: Make sure host sandbox files exist before adding them to mounts 2024-02-19 20:40:24 +08:00
container_events.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_exec.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_execsync_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_execsync.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_list_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_list.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_log_reopen.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_remove_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_remove.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_start_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_start.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_stats_list_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_stats_list.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_stats.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_status_test.go Pass runtimehandler from CRI pull image request 2024-02-14 13:31:23 -08:00
container_status.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_stop_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_stop.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_update_resources_linux_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_update_resources_linux.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_update_resources_other.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_update_resources_windows.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
container_update_resources.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
events_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
events.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
fuzz.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
helpers_linux.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
helpers_other.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
helpers_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
helpers_windows_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
helpers_windows.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
helpers.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
list_metric_descriptors.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
list_pod_sandbox_metrics.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
metrics.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
nri_linux.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
nri_other.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
nri.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
rdt_stub.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
rdt.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
restart.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
runtime_config_linux_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
runtime_config_linux.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
runtime_config_other.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
runtime_config.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_list_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_list.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_portforward_linux.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_portforward_other.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_portforward_windows.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_portforward.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_remove.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_run_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_run.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_service.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_stats_linux.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_stats_list.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_stats_other.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_stats_windows_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_stats_windows.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_stats.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_status_test.go cri/server: Add userns tests in PodSandboxStatus 2024-02-07 17:06:01 +01:00
sandbox_status.go cri: Expose userns in PodSandboxStatus rpc 2024-02-07 17:06:01 +01:00
sandbox_stop_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
sandbox_stop.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
service_linux.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
service_other.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
service_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
service_windows.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
service.go Pass runtimehandler from CRI pull image request 2024-02-14 13:31:23 -08:00
status_test.go cri: propagate deprecation list to runtime status 2024-02-14 03:59:49 +09:00
status.go cri: propagate deprecation list to runtime status 2024-02-14 03:59:49 +09:00
streaming.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
test_config.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
update_runtime_config_test.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
update_runtime_config.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
version.go Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00