spiegel_podman/test/e2e
Brent Baude 128e168be5 Support selinux options with bind mounts play/gen
When using play kube and generate kube, we need to support if bind
mounts have selinux options.  As kubernetes does not support selinux in
this way, we tuck the selinux values into a pod annotation for
generation of the kube yaml.  Then on play, we check annotations to see
if a value for the mount exists and apply it.

Fixes BZ #1984081

Signed-off-by: Brent Baude <bbaude@redhat.com>
2021-09-30 12:06:18 -05:00
..
build inspect: printTmpl must Flush writer 2021-09-09 16:37:24 +05:30
cdi Add support for CDI device configuration 2021-04-20 09:18:52 -04:00
config Support log_tag defaults from containers.conf 2021-06-23 12:54:25 -04:00
hooks Add hooks support to podman 2018-04-05 14:13:49 +00:00
sign save image remove signatures 2020-10-21 10:00:08 -04:00
testdata migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
attach_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
build_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
checkpoint_test.go Add Checkpointed bool to Inspect 2021-09-07 14:16:01 -04:00
commit_test.go Eighty-six eighty-eighty 2021-09-22 16:35:52 -04:00
common_test.go e2e tests: fix overlay: Unknown option vfs.imagestore 2021-08-20 02:09:12 +08:00
config.go Add tests for volume plugins 2021-01-14 16:43:23 -05:00
config_amd64.go speed up CI handling of images 2021-04-07 15:40:29 -05:00
config_ppc64le.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
container_create_volume_test.go Copy the content from the underlying image into the newly created volume. 2021-07-20 11:39:32 -04:00
container_inspect_test.go Eighty-six eighty-eighty 2021-09-22 16:35:52 -04:00
containers_conf_test.go Handle timezone on server containers.conf 2021-08-04 08:59:19 -04:00
cp_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
create_staticip_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
create_staticmac_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
create_test.go Eighty-six eighty-eighty 2021-09-22 16:35:52 -04:00
diff_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
events_test.go logFile until flag issue 2021-08-23 12:51:56 -04:00
exec_test.go Make secret env var available to exec session 2021-08-31 13:53:51 -04:00
exists_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
export_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
generate_kube_test.go Support selinux options with bind mounts play/gen 2021-09-30 12:06:18 -05:00
generate_systemd_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
healthcheck_run_test.go added healthcheck to ps command 2021-09-29 16:39:29 -04:00
history_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
image_scp_test.go Created scp.go image_scp_test.go and podman-image-scp.1.md 2021-07-30 17:19:24 -04:00
image_sign_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
images_test.go Fix image prune --filter cmd behavior 2021-06-08 15:18:00 +02:00
import_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
info_test.go Podman info output plugin information 2021-08-19 17:33:20 +02:00
init_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
inspect_test.go Eighty-six eighty-eighty 2021-09-22 16:35:52 -04:00
kill_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
libpod_suite_remote_test.go Document CONTAINERS_CONF/CONTAINERS_STORAGE_CONF Env variables 2021-03-10 06:34:47 -05:00
libpod_suite_test.go Document CONTAINERS_CONF/CONTAINERS_STORAGE_CONF Env variables 2021-03-10 06:34:47 -05:00
load_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
login_logout_test.go Fix AVC denials in tests of volume mounts 2021-08-18 12:04:06 -04:00
logs_test.go logFile until flag issue 2021-08-23 12:51:56 -04:00
manifest_test.go manifest: rm should not remove referenced images. 2021-09-02 17:30:02 +05:30
mount_rootless_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
mount_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
namespace_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
negative_test.go bump go module to v3 2021-02-22 09:03:51 +01:00
network_connect_disconnect_test.go Fix network aliases with network id 2021-08-20 10:49:33 +02:00
network_create_test.go dual-stack network: fix duplicated subnet assignment 2021-07-26 14:05:33 +02:00
network_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pause_test.go stats: allow to read stats for paused containers 2021-09-10 09:03:08 +02:00
play_build_test.go Set context dir for play kube build 2021-09-23 13:06:53 -05:00
play_kube_test.go Generate kube should'd add podman default environment vars 2021-09-22 16:49:15 -04:00
pod_create_test.go Eighty-six eighty-eighty 2021-09-22 16:35:52 -04:00
pod_infra_container_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_initcontainers_test.go rename oneshot initcontainers to once 2021-08-12 12:57:15 -05:00
pod_inspect_test.go Eighty-six eighty-eighty 2021-09-22 16:35:52 -04:00
pod_kill_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_pause_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_pod_namespaces_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_prune_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_ps_test.go Add until filter to podman pod ps 2021-08-10 22:10:40 +02:00
pod_restart_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_rm_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_start_test.go Eighty-six eighty-eighty 2021-09-22 16:35:52 -04:00
pod_stats_test.go e2e tests: re-enable and fix podman stats tests 2021-08-02 17:30:53 +02:00
pod_stop_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_top_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
port_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
prune_test.go refine dangling checks 2021-07-26 09:28:17 +02:00
ps_test.go Eighty-six eighty-eighty 2021-09-22 16:35:52 -04:00
pull_test.go Bump github.com/containers/image/v5 from 5.13.2 to 5.14.0 2021-07-25 04:54:29 -04:00
push_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
rename_test.go Ensure pod ID bucket is properly updated on rename 2021-09-29 16:39:29 -04:00
restart_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
rm_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
rmi_test.go speed up CI handling of images 2021-04-07 15:40:29 -05:00
run_apparmor_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_cgroup_parent_test.go test: enable --cgroup-parent test 2021-09-16 09:42:14 -04:00
run_cleanup_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_cpu_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_device_test.go Fix device tests using ls test files 2021-08-11 13:07:00 -04:00
run_dns_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_entrypoint_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_env_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_exit_test.go If container exits with 125 podman should exit with 125 2021-09-16 09:42:14 -04:00
run_memory_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_networking_test.go Eighty-six eighty-eighty 2021-09-22 16:35:52 -04:00
run_ns_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_passwd_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_privileged_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_restart_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_seccomp_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_security_labels_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_selinux_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_signal_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_staticip_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_test.go Eighty-six eighty-eighty 2021-09-22 16:35:52 -04:00
run_userns_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_volume_test.go container: resolve workdir after all the mounts happen. 2021-08-30 19:49:26 +05:30
run_working_dir_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
runlabel_test.go container runlabel remove image tag from name 2021-09-22 15:45:41 -04:00
save_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
search_test.go test/e2e/search_test.go - relax tests 2021-09-09 16:02:40 +02:00
secret_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
start_test.go podman start: remove containers configured for auto removal 2021-07-16 10:57:40 +02:00
stats_test.go Skip stats test in CGv1 container environments 2021-08-18 12:04:06 -04:00
stop_test.go stop: Do nothing if container was never created in runtime 2021-09-29 16:39:29 -04:00
system_connection_test.go Eighty-six eighty-eighty 2021-09-22 16:35:52 -04:00
system_df_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
system_reset_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
systemd_test.go make podman run --systemd case insensitive 2021-09-02 11:01:10 +02:00
tag_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
toolbox_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
top_test.go vendor c/psgo@v1.7.1 2021-09-22 16:34:43 -04:00
tree_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
trust_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
unshare_test.go podman unshare keep exit code 2021-09-10 15:30:25 +02:00
untag_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
version_test.go bump go module to v3 2021-02-22 09:03:51 +01:00
volume_create_test.go volumes: Add volume import to allow importing contents on tar into volume 2021-08-26 14:14:14 +05:30
volume_exists_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
volume_inspect_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
volume_ls_test.go Add until filter to volume ls filters list 2021-07-22 00:01:07 +02:00
volume_plugin_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
volume_prune_test.go Add prune until filter test for podman volume cli 2021-07-26 22:37:45 +02:00
volume_rm_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
wait_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00