Bug 1841005

Summary: `oc new-app -h` need update to create deployment by default
Product: OpenShift Container Platform Reporter: zhou ying <yinzhou>
Component: ocAssignee: Maciej Szulik <maszulik>
Status: CLOSED ERRATA QA Contact: zhou ying <yinzhou>
Severity: low Docs Contact:
Priority: low    
Version: 4.5CC: aos-bugs, jokerman, mfojtik
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:01:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description zhou ying 2020-05-28 06:27:16 UTC
Description of problem:
`oc new-app -h` still show create deployment configuration by default, need update to create deployment.

Version-Release number of selected component (if applicable):
[root@dhcp-140-138 cucushift]#  oc version 
Client Version: 4.5.0-202005271737-06cc74b
Kubernetes Version: v1.18.3+0c12308

How reproducible:
always

Steps to Reproduce:
1)`oc new-app -h`

Actual results:
1) show as:
Create a new application by specifying source code, templates, and/or images

....
The images will be deployed via a deployment configuration, and a service will be connected to the first public port of
the app. 

Expected results:
1) Create a new application by specifying source code, templates, and/or images

....
The images will be deployed via a deployment, and a service will be connected to the first public port of
the app. 

Additional info:

Comment 4 zhou ying 2020-06-08 02:25:32 UTC
Confirmed with oc version:

[root@dhcp-140-138 openshift-tests]# oc version -o yaml
clientVersion:
  buildDate: "2020-06-06T02:22:05Z"
  compiler: gc
  gitCommit: e4f466b35d6b3d239ed9eba1764d0ca8aca2dd6b
  gitTreeState: clean
  gitVersion: 4.6.0-202006060217-e4f466b
  goVersion: go1.13.4
  major: ""
  minor: ""
  platform: linux/amd64

[root@dhcp-140-138 openshift-tests]# oc new-app -h
......
 If you specify a source code URL, it will set up a build that takes your source code and converts it into an image that
can run inside of a pod. Local source must be in a git repository that has a remote repository that the server can see.
The images will be deployed via a deployment or deployment configuration, ...

Comment 6 errata-xmlrpc 2020-10-27 16:01:53 UTC
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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196