odo icon indicating copy to clipboard operation
odo copied to clipboard

odo dev should not run on default namespace on OpenShift

Open feloy opened this issue 2 years ago • 2 comments

/kind bug

What versions of software are you using?

Operating System:

Fedora Linux

Output of odo version:

odo v2.5.0 (7a145e77c)

How did you run odo exactly?

$ kubectl ns default $ odo dev

Actual behavior

odo dev works correctly.

Expected behavior

On OpenShift, odo push on v2 is failing with the message "odo may not work as expected in the default project". I expect that odo dev on OpenShift also fails with the same message.

Any logs, error output, etc?

feloy avatar Mar 24 '22 15:03 feloy

We can have a warning instead of an error for odo v3 (@kadel )

feloy avatar Aug 17 '22 12:08 feloy

v2 was failing, but we don't have to fail necessarily. Showing only a warning when the user runs odo dev against default project on OpenShift is enough.

kadel avatar Aug 17 '22 15:08 kadel