mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-31 23:36:12 +00:00
ci: add reset_runtime to cleanup
Adding reset_cleanup to cleanup action so that it is done automatically without the need to run yet another DS just to reset the runtime. This is now part of the lifecycle hook when issuing kata-deploy.sh cleanup Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
parent
1221ab73f9
commit
8d9bec2e01
@ -706,6 +706,7 @@ function main() {
|
||||
cleanup_cri_runtime "$runtime"
|
||||
kubectl label node "$NODE_NAME" --overwrite katacontainers.io/kata-runtime=cleanup
|
||||
remove_artifacts
|
||||
reset_runtime "$runtime"
|
||||
;;
|
||||
reset)
|
||||
reset_runtime $runtime
|
||||
|
Loading…
Reference in New Issue
Block a user