File tree 2 files changed +10
-3
lines changed
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.
36
36
Instructions below removes all traces of what was setup in the previous step
37
37
including removing the catalog.
38
38
```
39
- kubectl delete -n operators csv \
39
+ oc delete -n operators csv \
40
40
-l operators.coreos.com/observability-operator.operators=
41
41
42
- kubectl delete -n openshift-operators \
42
+ oc delete -n openshift-operators \
43
43
installplan,subscriptions \
44
44
-l operators.coreos.com/observability-operator.operators=
45
45
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
+
47
50
```
48
51
49
52
### Kubernetes
@@ -76,6 +79,9 @@ kubectl delete -n operators \
76
79
-l operators.coreos.com/observability-operator.operators=
77
80
78
81
kubectl delete -f hack/olm/k8s
82
+
83
+ kubectl delete crds "$(kubectl api-resources --api-group=monitoring.rhobs -o name)"
84
+
79
85
```
80
86
## Development
81
87
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ delete_obo() {
64
64
65
65
oc delete -f hack/olm/subscription.yaml || true
66
66
oc delete -f hack/olm/catalog-src.yaml || true
67
+ oc delete crds " $( oc api-resources --api-group=monitoring.rhobs -o name) "
67
68
ok " uninstalled ObO"
68
69
}
69
70
You can’t perform that action at this time.
0 commit comments