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 <archana.m.shinde@intel.com>
This commit is contained in:
Archana Shinde 2020-08-26 15:04:52 -07:00
parent 219f93ffad
commit bee17d1c8f

View File

@ -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