Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1516128 - [Doc] Example commands are not in good format in Create from URL part
Summary: [Doc] Example commands are not in good format in Create from URL part
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Vikram Goyal
QA Contact: Vikram Goyal
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-22 06:30 UTC by Wenjing Zheng
Modified: 2017-11-22 08:18 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-22 08:18:54 UTC


Attachments (Terms of Use)

Description Wenjing Zheng 2017-11-22 06:30:54 UTC
Document URL: 
https://docs.openshift.org/latest/dev_guide/create_from_url.html#example-usage-of-an-image-stream-and-image-tag
https://docs.openshift.org/latest/dev_guide/create_from_url.html#example-usage-of-a-template

Section Number and Name: 

Describe the issue: 
Example commands are in incorrect format like below:
create?template=nodejs-mongodb-example&templateParamsMap={"SOURCE_REPOSITORY_URL"%3A"https%3A%2F%2Fgithub.com%2Fopenshift%2Fnodejs-ex.git"}
create?imageStream=nodejs&imageTag=4&name=nodejs&sourceURI=https%3A%2F%2Fgithub.com%2Fopenshift%2Fnodejs-ex.git&sourceRef=master&contextDir=%2F


Suggestions for improvement: 
Should in good format like
oc create --template=nodejs-mongodb-example --templateParamsMap={"SOURCE_REPOSITORY_URL" "https://github.com/openshift/nodejs-ex.git"}
oc create --imageStream=nodejs:4 --name=nodejs --sourceURI=https://github.com/openshift/nodejs-ex.git --sourceRef=master --contextDir=

Additional information:


Note You need to log in before you can comment on or make changes to this bug.