Skip to content

Commit

Permalink
fix: use cleanup.sh script to uninstall in sm clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
CFSNM committed Nov 25, 2024
1 parent d47c4e7 commit 07825c7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions ods_ci/tasks/Resources/RHODS_OLM/uninstall/uninstall.robot
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,10 @@ Uninstalling RHODS Operator
... Uninstall RHODS

Uninstall RHODS
${new_operator} = Is RHODS Version Greater Or Equal Than 2.0.0
IF "${cluster_type}" == "managed" and ${new_operator} == $False
IF "${cluster_type}" == "managed"
Uninstall RHODS In OSD
ELSE IF "${cluster_type}" == "selfmanaged" and ${new_operator} == $False
ELSE IF "${cluster_type}" == "selfmanaged"
Uninstall RHODS In Self Managed Cluster
ELSE IF ${new_operator}
Uninstall RHODS V2
ELSE
Fail Kindly provide supported cluster type
END
Expand All @@ -45,7 +42,7 @@ Uninstall RHODS In Self Managed Cluster
ELSE IF "${INSTALL_TYPE}" == "OperatorHub"
Uninstall RHODS In Self Managed Cluster For Operatorhub
ELSE
FAIL Provided install type is not supported
FAIL Provided install type is not supported
END

RHODS Operator Should Be Uninstalled
Expand Down

0 comments on commit 07825c7

Please sign in to comment.