odo icon indicating copy to clipboard operation
odo copied to clipboard

Can't list registries in structured output

Open jeffmaury opened this issue 3 years ago • 1 comments

/kind bug

odo integrations (OpenShift Connector) used odo registry list -o json with odo v2.x

What versions of software are you using?

Operating System: Win10Pro

Output of odo version:

odo v3.0.0-beta2 (c8e4458f4)

Server: https://api.sandbox-m2.ll9k.p1.openshiftapps.com:6443
Kubernetes: v1.23.5+9ce5071

How did you run odo exactly?

odo preference view -o json

Actual behavior

C:\work\src\tmp\odotest\demo>odo preference view -o json
 X  Machine readable output is not yet implemented for this command

Expected behavior

Structured output should be seen

Any logs, error output, etc?

jeffmaury avatar Jul 31 '22 21:07 jeffmaury

/remove-kind bug /kind feature

JSON output for odo preference view needs to be implemented.

rm3l avatar Aug 11 '22 07:08 rm3l

@kadel we cannot migrate to odo v3 without support -o json output, unless we going to remove Registries View which shows list of the available registries and let user modify it (add/remove/edit entries).

What happened to odo registry list -o json? It was working fine in v2.

dgolovin avatar Sep 02 '22 03:09 dgolovin

odo registry list -o json has been replaced with odo preference view -o json in v3. We will be working on this issue during this sprint, and it should be available for v3.0.0-rc2.

rm3l avatar Sep 02 '22 14:09 rm3l