From c5eb0245932e3ebdabcb12417d880cd70776abb9 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Fri, 6 Feb 2026 13:05:56 +0100 Subject: [PATCH] Add flux uninstall to delete_remote_cluster when PURGE set to true Change-Id: I0b15fc4afd5fcce672fad19d9ad894de4185a4d7 Signed-off-by: garciadeblas --- docker/osm-krm-functions/scripts/library/krm-functions.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/osm-krm-functions/scripts/library/krm-functions.rc b/docker/osm-krm-functions/scripts/library/krm-functions.rc index 515dda64..951a54ed 100644 --- a/docker/osm-krm-functions/scripts/library/krm-functions.rc +++ b/docker/osm-krm-functions/scripts/library/krm-functions.rc @@ -1020,6 +1020,7 @@ function delete_remote_cluster() { # Perform the purge if needed if [[ "${PURGE,,}" == "true" ]]; then echo "Purging the remote Flux instalation..." + flux uninstall -s --namespace=flux-system fi echo "Deleting cluster profiles and (when applicable) its cloud resources..." -- 2.25.1