redhat-developer / odo

odo - Developer-focused CLI for fast & iterative container-based application development on Podman and Kubernetes. Implementation of the open Devfile standard.
https://odo.dev
Apache License 2.0
797 stars 243 forks source link

odo search service doesn't honor experiment flag #3355

Closed jichenjc closed 4 years ago

jichenjc commented 4 years ago

/kind bug

What versions of software are you using?

Operating System:

Output of odo version: odo v1.2.2 (a15a99e)

Server: https://api.crc.testing:6443 Kubernetes: v1.17.1

How did you run odo exactly?

 odo catalog search service mysql
 ✗  unable to list services because Service Catalog is not enabled in your cluster: unable to list services: unable to get cluster serviceClassExternalName: unable to get cluster service classes: unable to list cluster service classes: the server could not find the requested resource (get clusterserviceclasses.servicecatalog.k8s.io)
[jichen@jjtest2 nodejs-ex]$ odo preference set Experimental true
? Experimental is already set. Do you want to override it in the config Yes
Global preference was successfully updated
[jichen@jjtest2 nodejs-ex]$ odo catalog search service mysql
 ✗  unable to list services because Service Catalog is not enabled in your cluster: unable to list services: unable to get cluster serviceClassExternalName: unable to get cluster service classes: unable to list cluster service classes: the server could not find the requested resource (get clusterserviceclasses.servicecatalog.k8s.io)

the list command provided different output when Experiment flag is set or not

Actual behavior

Expected behavior

Any logs, error output, etc?

jichenjc commented 4 years ago

/assign