mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-01-30 05:52:15 +00:00
Let's remove the deprecated features that were marked for removal after Kata Containers 3.23.0: kata-deploy.sh: - Remove non-arch-specific variable fallbacks (SHIMS, DEFAULT_SHIM, SNAPSHOTTER_HANDLER_MAPPING, ALLOWED_HYPERVISOR_ANNOTATIONS, PULL_TYPE_MAPPING, EXPERIMENTAL_FORCE_GUEST_PULL). Each arch now has its own default value. - Remove CREATE_RUNTIMECLASSES and CREATE_DEFAULT_RUNTIMECLASS variables and associated functions (create_runtimeclasses, delete_runtimeclasses, adjust_shim_for_nfd). RuntimeClasses are now managed by Helm chart, not the daemonset script. - Unsupported architectures now fail with an error instead of falling back to non-arch-specific defaults. Helm chart: - Remove all deprecated env values (createRuntimeClasses, createDefaultRuntimeClass, debug, shims, shims_*, defaultShim, defaultShim_*, allowedHypervisorAnnotations, snapshotterHandlerMapping, snapshotterHandlerMapping_*, agentHttpsProxy, agentNoProxy, pullTypeMapping, pullTypeMapping_*, _experimentalSetupSnapshotter, _experimentalForceGuestPull, _experimentalForceGuestPull_*). - Remove backward compatibility code from _helpers.tpl that checked for legacy env values. - Remove legacy env.shims check from runtimeclasses.yaml. - Remove CREATE_RUNTIMECLASSES and CREATE_DEFAULT_RUNTIMECLASS env vars from kata-deploy.yaml and post-delete-job.yaml. - Update RBAC to only include runtimeclasses get/patch permissions (needed for NFD patching), removing create/delete/list/update/watch. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>