Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Delete CSV on uninstall
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Arroutbi <[email protected]>
  • Loading branch information
sarroutbi committed Sep 28, 2023
1 parent 24cd704 commit 3b35784
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/index_tools/tang_uninstall_catalog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@

oc delete -f tang_subscription.yaml
oc delete -f tang_catalog_source.yaml
oc get csv -nopenshift-operators
csv=$(oc get csv -n openshift-operators | grep -v NAME | head | awk '{print $1}')
test -z "${csv}" || oc delete csv "${csv}" -n openshift-operators

0 comments on commit 3b35784

Please sign in to comment.