kata-containers/tests/integration/kubernetes
Dan Mihai 30bfa2dfcc genpolicy: use CoCo settings by default
- "confidential_emptyDir" becomes "emptyDir" in the settings file.
- "confidential_configMap" becomes "configMap" in settings.
- "mount_source_cpath" becomes "cpath".
- The new "root_path" gets used instead of the old "cpath" to point to
  the container root path..
- "confidential_guest" is no longer used. By default it gets replaced
  by "enable_configmap_secret_storages"=false, because CoCo is using
  CopyFileRequest instead of the Storage data structures for ConfigMap
  and/or Secret volume mounts during CreateContainerRequest.
- The value of "guest_pull" becomes true by default.
- "image_layer_verification" is no longer used - just CoCo's guest pull
  is supported.
- The Request input files from unit tests are changing to reflect the
  new default settings values described above.
- tests/integration/kubernetes/tests_common.sh adjusts the settings for
  platforms that are not set-up for CoCo during CI (i.e., platforms
  other than SNP, TDX, and CoCo Dev).

Signed-off-by: Dan Mihai <dmihai@microsoft.com>
2025-07-28 18:30:13 +00:00
..
filter_out_per_arch tests: remove manifest v1 test 2024-11-08 13:38:51 -08:00
runtimeclass_workloads tests: Prevent the shim from being killed in k8s-oom test 2025-07-24 23:44:21 +08:00
volume tests: Add k8s-block-volume test 2024-09-30 10:58:30 -05:00
.gitignore tests/k8s: split and save bats outputs in files 2025-05-20 14:43:38 -03:00
confidential_common.sh tests: Removing testing framework for SEV 2025-07-07 11:17:32 -05:00
confidential_kbs.sh Merge pull request #11294 from wainersm/delint_confidential_kbs 2025-05-23 17:00:28 +02:00
filter_k8s_test.sh shellcheck: Fix shellcheck SC2068 2025-03-04 09:35:46 +00:00
gha-run.sh tests: Remove references to qemu-sev 2025-07-18 12:49:54 +02:00
k8s-attach-handlers.bats tests: k8s: reuse policy exec variable 2024-07-24 17:42:04 +00:00
k8s-block-volume.bats tests: Skip block volume test on fc, stratovirt 2025-02-13 11:50:35 +00:00
k8s-caps.bats tests: k8s: reuse policy exec variable 2024-07-24 17:42:04 +00:00
k8s-confidential-attestation.bats tests: confidential: Add KBS logging 2025-04-29 09:48:18 +01:00
k8s-confidential.bats tests: k8s: confidential: Cleanup $HOME/.ssh/known_hosts 2025-01-23 12:04:13 +01:00
k8s-configmap.bats tests: k8s-configmap.bats: log exec output 2025-03-07 19:35:45 +00:00
k8s-copy-file.bats tests: k8s: reuse policy exec variable 2024-07-24 17:42:04 +00:00
k8s-cpu-ns.bats tests: Remove references to qemu-sev 2025-07-18 12:49:54 +02:00
k8s-credentials-secrets.bats tests/k8s: call teardown_common in k8s-credentials-secrets.bats 2025-07-12 10:13:51 +01:00
k8s-cron-job.bats tests: add test for cron job support 2024-08-13 10:47:42 -07:00
k8s-custom-dns.bats tests: k8s: reuse policy exec variable 2024-07-24 17:42:04 +00:00
k8s-empty-dirs.bats Revert "tests: k8s: Skip one of the empty-dir tests" 2025-01-08 14:07:34 +01:00
k8s-env.bats tests: k8s-env.bats: log exec output 2025-03-07 19:37:20 +00:00
k8s-exec.bats tests: k8s-exec: reuse sh_command variable 2024-07-25 16:50:34 +00:00
k8s-file-volume.bats tests: Use custom-node-debugger pod 2024-09-24 17:25:24 +02:00
k8s-footloose.bats tests: k8s-footloose.bats allow all policy 2024-04-03 02:59:50 +00:00
k8s-guest-pull-image-authenticated.bats tests: update negative test log assertions 2025-06-16 13:54:15 +08:00
k8s-guest-pull-image-encrypted.bats tests: update negative test log assertions 2025-06-16 13:54:15 +08:00
k8s-guest-pull-image-signature.bats tests: update negative test log assertions 2025-06-16 13:54:15 +08:00
k8s-guest-pull-image.bats tests: fixup error assert in pull image test 2025-05-13 20:17:02 -05:00
k8s-hostname.bats ci: Introduce CI to validate pod hostname 2024-10-21 16:32:56 +01:00
k8s-initdata.bats initdata: delete coco_as token section in initdata 2025-06-16 13:54:15 +08:00
k8s-inotify.bats tests: k8s-inotify: longer pod termination timeout 2024-10-15 16:01:25 +00:00
k8s-job.bats Revert "tests: Skip k8s job test on qemu-coco-dev" 2025-02-21 17:52:17 -06:00
k8s-kill-all-process-in-container.bats tests: Re-enable k8s-kill-all-process-in-container.bats 2024-07-05 08:10:04 +08:00
k8s-limit-range.bats policy: improve pod namespace validation 2024-12-04 10:17:54 -08:00
k8s-liveness-probes.bats tests/k8s: Add skip is setup_common fails 2024-11-04 09:59:33 +00:00
k8s-measured-rootfs.bats tests: Skip trusted storage tests for IBM SE 2025-02-06 12:09:14 +01:00
k8s-memory.bats ci: k8s: arm: Enable skipped tests 2025-05-16 03:02:32 +02:00
k8s-nested-configmap-secret.bats ci: k8s: tdx: Re-enable nested-configmap-secret tests 2024-06-07 18:12:06 +02:00
k8s-nginx-connectivity.bats ci: skip nginx connectivity test with crio 2024-11-06 12:07:02 +01:00
k8s-number-cpus.bats tests: k8s: reuse policy exec variable 2024-07-24 17:42:04 +00:00
k8s-oom.bats tests: Prevent the shim from being killed in k8s-oom test 2025-07-24 23:44:21 +08:00
k8s-optional-empty-configmap.bats tests: k8s: reuse policy exec variable 2024-07-24 17:42:04 +00:00
k8s-optional-empty-secret.bats tests: k8s-optional-empty-secret.bats policy 2024-04-03 03:00:30 +00:00
k8s-parallel.bats tests/k8s: call teardown_common in k8s-parallel.bats 2025-07-12 10:13:51 +01:00
k8s-pid-ns.bats tests: k8s: k8s-pid-ns.bats auto-generated policy 2024-03-12 22:34:46 +00:00
k8s-pod-quota.bats ci: k8s: arm: Enable skipped tests 2025-05-16 03:02:32 +02:00
k8s-policy-deployment-sc.bats ci: Add test cases for fsGroup and supplementalGroup fields 2025-05-13 21:48:58 +00:00
k8s-policy-deployment.bats tests: k8s-policy-deployment: add bad UID test 2024-09-13 22:05:31 +00:00
k8s-policy-hard-coded.bats agent: fix the AllowRequestsFailingPolicy functionality 2024-08-01 22:37:18 +00:00
k8s-policy-job.bats Revert "tests: disable k8s-policy-job.bats on coco-dev" 2025-02-21 17:52:17 -06:00
k8s-policy-logs.bats tests: Add policy test for ReadStreamRequest 2025-02-19 14:03:41 -06:00
k8s-policy-pod.bats tests: k8s-policy-pod: safer host path volume source 2025-03-13 18:56:57 +00:00
k8s-policy-pvc.bats tests: Removing testing framework for SEV 2025-07-07 11:17:32 -05:00
k8s-policy-rc.bats tests: k8s-policy-rc: print pod descriptions 2025-06-23 16:23:26 +00:00
k8s-port-forward.bats
k8s-projected-volume.bats ci: k8s: tdx: Re-enable projected-volume tests 2024-06-07 18:12:36 +02:00
k8s-qos-pods.bats tests: k8s: k8s-qos-pods auto-generated policy 2024-03-07 05:57:30 +00:00
k8s-replication.bats tests: k8s: k8s-replication auto-generated policy 2024-03-07 05:57:30 +00:00
k8s-sandbox-vcpus-allocation.bats tests/k8s: call teardown_common in k8s-sandbox-vcpus-allocation.bats 2025-07-12 10:13:51 +01:00
k8s-scale-nginx.bats tests: k8s: k8s-scale-nginx auto-generated policy 2024-03-07 05:57:30 +00:00
k8s-sealed-secret.bats tests: confidential: Add KBS logging 2025-04-29 09:48:18 +01:00
k8s-seccomp.bats tests/k8s: skip seccomp tests for qemu-coco-dev 2024-05-29 18:37:24 -03:00
k8s-security-context.bats tests: k8s: reuse policy exec variable 2024-07-24 17:42:04 +00:00
k8s-shared-volume.bats tests: k8s: reuse policy exec variable 2024-07-24 17:42:04 +00:00
k8s-sysctls.bats tests: Re-enable k8s-sysctls.bats 2024-07-05 08:10:04 +08:00
k8s-volume.bats tests: Use custom-node-debugger pod 2024-09-24 17:25:24 +02:00
lib.sh tests/k8s: add handler for Job in set_node() 2025-07-12 10:13:51 +01:00
run_kubernetes_tests.sh tests/k8s: split and save bats outputs in files 2025-05-20 14:43:38 -03:00
setup.sh tests: Removing testing framework for SEV 2025-07-07 11:17:32 -05:00
tests_common.sh genpolicy: use CoCo settings by default 2025-07-28 18:30:13 +00:00