Description of problem: Output yaml format when oc edit with -o json option Version-Release number of selected component (if applicable): oc v3.11.0-0.11.0 How reproducible: always Steps to Reproduce: 1.Create a build $ oc new-build openshift/ruby:2.3~https://github.com/sclorg/ruby-ex.git 2.Edit bc with -o json option $oc edit bc/ruby-ex -o json 3. Actual results: Output is a yaml format, not json format Expected results: shoud output json format Additional info:
This was fixed upstream in https://github.com/kubernetes/kubernetes/pull/66225 Will pick into Origin
Origin PR: https://github.com/openshift/origin/pull/20589
PR has merged. Moving to MODIFIED
verified in openshift v3.11.0-0.22.0 oc v3.11.0-0.22.0
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:2652