From bee17d1c8f563b7c0ccc6e2bf35c3d588cae00d8 Mon Sep 17 00:00:00 2001 From: Archana Shinde Date: Wed, 26 Aug 2020 15:04:52 -0700 Subject: [PATCH] kata-deploy: Add containerd configuration to support kata annotations. In case of containerd, not all annotations are passed down to the OCI layer. We need to configure "pod_annotations" field for a runtime class. This field is a list of annotations that can be passed by Kata as OCI annotations. Add this as default configuration with kata-deploy. Fixes: #594 Signed-off-by: Archana Shinde --- tools/packaging/kata-deploy/scripts/kata-deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/packaging/kata-deploy/scripts/kata-deploy.sh b/tools/packaging/kata-deploy/scripts/kata-deploy.sh index 2022475dce..a4b49e7ab8 100755 --- a/tools/packaging/kata-deploy/scripts/kata-deploy.sh +++ b/tools/packaging/kata-deploy/scripts/kata-deploy.sh @@ -171,6 +171,7 @@ function configure_containerd_runtime() { [$runtime_table] runtime_type = "${runtime_type}" privileged_without_host_devices = true + pod_annotations = ["io.katacontainers.*"] EOT fi