mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 04:04:45 +00:00
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:
parent
219f93ffad
commit
bee17d1c8f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user