Closed mtulio closed 3 years ago
Introducing to OLM RD:
OLM inspect is collected by default on MG since 4.7, there is a issue and PR opened to port it to 4.6.
Collect OLM data
oc adm inspect -A olm --dest-dir=tmp/mg-olm
Install custom branch
python3 -m venv .venv && . ./.venv/bin/activate pip install ./ --upgrade omg use tmp/mg-olm/ omg get csv
Test new cmds:
$ omg get csv NAME DISPLAY VERSION REPLACES PHASE couchbase-operator.v2.1.0 Couchbase Operator 2.1.0 couchbase-operator.v2.0.2 Succeeded elasticsearch-operator.5.0.5-11 OpenShift Elasticsearch Operator 5.0.5-11 Succeeded jaeger-operator.v1.20.3 Red Hat OpenShift Jaeger 1.20.3 Succeeded redhat-openshift-pipelines.v1.4.1 Red Hat OpenShift Pipelines 1.4.1 redhat-openshift-pipelines.v1.4.0 Succeeded
$ omg get csv -A |wc -l 316
$ oc get csv -A |wc -l 316
$ omg get ip -A |wc -l 12
$ oc get ip -A |wc -l 12
$ omg get subs -A |wc -l 11
$ oc get subs -A |wc -l 11
$ omg get catsrc -A |wc -l 5
$ oc get catsrc -A |wc -l 5
$ oc get og -A |wc -l 11
$ omg get og -A |wc -l 11
@kxr could you please take a look?
Introducing to OLM RD:
Steps to test
Collect OLM data
Install custom branch
Test new cmds:
$ omg get csv -A |wc -l 316
$ oc get csv -A |wc -l 316
$ omg get ip -A |wc -l 12
$ oc get ip -A |wc -l 12
$ omg get subs -A |wc -l 11
$ oc get subs -A |wc -l 11
$ omg get catsrc -A |wc -l 5
$ oc get catsrc -A |wc -l 5
$ oc get og -A |wc -l 11
$ omg get og -A |wc -l 11