]> git.feebdaed.xyz Git - 0xmirror/containerd.git/commit
cri: deprecate the enable_cdi config option.
authorKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 11 Dec 2025 19:57:19 +0000 (21:57 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Wed, 17 Dec 2025 08:52:54 +0000 (10:52 +0200)
commitc49379c38a51bd26f22129cc9eb904bcecb5387c
tree11d6d241311513c5a0436a1831ab86064ada4fcc
parentd3ee5d6088b0e5444e26fc88e87bd0a0322d9c76
cri: deprecate the enable_cdi config option.

Deprecate the enable_cdi config option for CRI. Change it to a
pointer so we can differentiate between an unset value and one
that is set explicitly to false. Treat an omitted setting (nil
value) as enabled. Mark it deprecated in RELEASES.md. Add a
deprecation warning for it. Log that warning if we start up
with enable_cdi explicitly set to false.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
RELEASES.md
internal/cri/config/config.go
internal/cri/config/config_test.go
internal/cri/config/config_unix.go
internal/cri/server/container_create_linux.go
internal/cri/server/service.go
internal/cri/server/service_linux.go
pkg/deprecation/deprecation.go