mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-26 07:30:19 +00:00
kata-deploy: install kata-ctl on the node when debug is enabled
kata-ctl provides `kata-ctl exec <sandbox-id>`, the runtime-rs entry point into a sandbox's agent debug console. It ships in the kata-tools bundle rather than with the shim binaries, so it is not staged into the kata-deploy image and never lands on the node - leaving runtime-rs deployments without a first-class way to reach the debug console. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com> Assisted-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
10
.github/workflows/publish-kata-images.yaml
vendored
10
.github/workflows/publish-kata-images.yaml
vendored
@@ -119,6 +119,16 @@ jobs:
|
||||
path: tools/packaging/kata-deploy/local-build/build
|
||||
merge-multiple: true
|
||||
|
||||
# kata-ctl ships in the kata-tools bundle under its own artifact name, so
|
||||
# stage it into the build dir separately to bake it into the deploy image.
|
||||
- name: get-kata-ctl for ${{ inputs.arch }}
|
||||
if: ${{ inputs.artifact-name == '' && matrix.image-kind == 'deploy' }}
|
||||
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||
with:
|
||||
pattern: kata-tools-artifacts-${{ inputs.arch }}-kata-ctl${{ inputs.tarball-suffix }}
|
||||
path: tools/packaging/kata-deploy/local-build/build
|
||||
merge-multiple: true
|
||||
|
||||
- name: get-kata-static-tarball for ${{ inputs.arch }}
|
||||
if: ${{ inputs.artifact-name == '' && matrix.image-kind == 'monitor' }}
|
||||
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||
|
||||
Reference in New Issue
Block a user