tests/k8s: Add uninstall kbs client command function

This PR adds the function to uninstall kbs client command function
specially when we are running with baremetal devices.

Fixes #9460

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes
2024-04-11 17:06:11 +00:00
parent 6b2d655857
commit 5420595d03

View File

@@ -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