From: aravind.est Date: Mon, 30 Jun 2025 16:42:13 +0000 (+0100) Subject: Cleanup the openebs installation and sc X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=21291f2eb7725c0b13430ff14896f66056a537f0;p=it%2Fdep.git Cleanup the openebs installation and sc Openebs and Storage class cleanup added. Issue-ID: INT-170 Change-Id: I08f9441d261f10ad638fcefb9e9c0dd75031fdf9 Signed-off-by: aravind.est (cherry picked from commit d37c11e33436a1cae22059ab49968cbf2ab76f1b) --- diff --git a/smo-install/scripts/sub-scripts/clean-up.sh b/smo-install/scripts/sub-scripts/clean-up.sh index 0fc5a7f1..49aead2a 100755 --- a/smo-install/scripts/sub-scripts/clean-up.sh +++ b/smo-install/scripts/sub-scripts/clean-up.sh @@ -6,6 +6,7 @@ # ================================================================================ # Copyright (C) 2021 AT&T Intellectual Property. All rights # reserved. +# Modification Copyright (C) 2025 OpenInfra Foundation Europe. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -24,4 +25,9 @@ ### kubectl delete pv --all -sudo rm -rf /dockerdata-nfs/* +# Delete storage class for smo +kubectl delete -f packages/pre-configuration/smo-sc.yaml +# Delete the openebs installation +helm delete openebs -n openebs +# Delete the volume storage directories +sudo rm -rf /dockerdata-nfs/* /dockerdata/*