Skip to content

Commit

Permalink
tests/k8s: Add uninstall kbs client command function
Browse files Browse the repository at this point in the history
This PR adds the function to uninstall kbs client command function
specially when we are running with baremetal devices.

Fixes kata-containers#9460

Signed-off-by: Gabriela Cervantes <[email protected]>
  • Loading branch information
GabyCT committed Apr 11, 2024
1 parent 6b2d655 commit 5420595
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/integration/kubernetes/confidential_kbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 151,12 @@ kbs_install_cli() {
popd
}

kbs_uninstall_cli() {
pushd "${COCO_KBS_DIR}"
sudo make uninstall
popd
}

# Delete the kbs on Kubernetes
#
# Note: assume the kbs sources were cloned to $COCO_TRUSTEE_DIR
Expand Down

0 comments on commit 5420595

Please sign in to comment.