File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,17 @@ It is easier to use the web console to remove the installed operator.
3636Instructions below removes all traces of what was setup in the previous step
3737including removing the catalog.
3838```
39- kubectl delete -n operators csv \
39+ oc delete -n operators csv \
4040 -l operators.coreos.com/observability-operator.operators=
4141
42- kubectl delete -n openshift-operators \
42+ oc delete -n openshift-operators \
4343 installplan,subscriptions \
4444 -l operators.coreos.com/observability-operator.operators=
4545
46- kubectl delete -f hack/olm
46+ oc delete -f hack/olm
47+
48+ oc delete crds "$(oc api-resources --api-group=monitoring.rhobs -o name)"
49+
4750```
4851
4952### Kubernetes
@@ -76,6 +79,9 @@ kubectl delete -n operators \
7679 -l operators.coreos.com/observability-operator.operators=
7780
7881kubectl delete -f hack/olm/k8s
82+
83+ kubectl delete crds "$(kubectl api-resources --api-group=monitoring.rhobs -o name)"
84+
7985```
8086## Development
8187
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ delete_obo() {
6464
6565 oc delete -f hack/olm/subscription.yaml || true
6666 oc delete -f hack/olm/catalog-src.yaml || true
67+ oc delete crds " $( oc api-resources --api-group=monitoring.rhobs -o name) "
6768 ok " uninstalled ObO"
6869}
6970
You can’t perform that action at this time.
0 commit comments