mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-03-18 02:32:26 +00:00
getDefaultShimForArch previously returned whatever string was set in defaultShim.<arch> without any validation. A typo, a non-existent shim, or a shim that is disabled via disableAll would all silently produce a bogus DEFAULT_SHIM_* env var, causing kata-deploy to fail at runtime. Guard the return value by checking whether the configured shim is present in the list of shims that are both enabled and support the requested architecture. If not, return empty string so the env var is simply omitted. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
Kata Containers packaging
Introduction
Kata Containers currently supports packages for many distributions. Tooling to aid in creating these packages are contained within this repository.
Build in a container
Kata build artifacts are available within a container image, created by a
Dockerfile. Reference DaemonSets are provided in
kata-deploy, which make installation of Kata Containers in a
running Kubernetes Cluster very straightforward.
Build static binaries
See the static build documentation.
Build Kata Containers Kernel
Build QEMU
Create a Kata Containers release
See the release documentation.
Packaging scripts
See the scripts documentation.
Credits
Kata Containers packaging uses packagecloud for package hosting.