Open serenamarie125 opened 2 years ago
@kadel the catalog
command was removed in https://github.com/redhat-developer/odo/pull/5577, is the intent to add it back at some point?
@kadel the
catalog
command was removed in #5577, is the intent to add it back at some point?
Currently not. We removed all logic around creating operator-backed services from odo. TBH, the experience was not what we wanted it to be :-( I don't think that with the current state of the Operator ecosystem, we can make user-friendly CLI interface for installing operator-backed services. At some point, we will probably revisit this, but it is not in our short term list.
A friendly reminder that this issue had no activity for 90 days. Stale issues will be closed after an additional 30 days of inactivity.
description to be updated by @kadel
Goal
Users should be able to use
odo catalog
command to list all operator-backed services. They should be able to filter by name or by category/labelExample
to show only databases
to show filter items that mention "maria" in name , description, operator or resource filed
note: the above example output was generated using following kubectl command
``` $ cat template {{- range .items -}} {{ $item := . }} {{ range $item.spec.customresourcedefinitions.owned }} DisplayName: {{.displayName}} Category: {{$item.metadata.annotations.categories}} Description: {{.description}} Operator: {{$item.spec.displayName}} Resource: {{.name}}/{{.version}} {{ end }} {{- end -}} $ kubectl get csv -o go-template-file=template ```Flags
--catagory
show only operators in a given category (see an example for where category comes from)--filter
show only operators that have the given phrase in the information that odo is showing (displayName, category, description, operator, resource)--namespace
display services in a given namespace (and cluster-wide).Command behavior and error states
.odo/env.yaml
exists and hasnamespace
set). It should use namespace as defined there.--namespace
is used.