Bug 1307087 - Document router options under oadm router --help
Document router options under oadm router --help
Status: NEW
Product: OpenShift Container Platform
Classification: Red Hat
Component: Command Line Interface (Show other bugs)
3.1.0
Unspecified Linux
unspecified Severity low
: ---
: ---
Assigned To: Fabiano Franz
Wei Sun
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-12 11:45 EST by Weibin Liang
Modified: 2016-02-12 11:45 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Weibin Liang 2016-02-12 11:45:34 EST
Description of problem:
In OSE 3.0.2 you can expose routes depending on a few things (https://docs.openshift.com/enterprise/3.0/whats_new/ose_3_0_release_notes.html#ose-3-0-2-0):

* Pass --namespace to the router command to select routes in a single namespace.
* Pass --labels=<selector> or --fields=<selector> to select only routes with the provided labels or fields.
* Pass --project-labels=* to show routes in all labels that the router’s service account is granted access to, --project-labels=<selector> to filter that list by label, or --namespace-labels=<selector> to filter all labels when the router service account has that permission.


But in OSE 3.1.1.6, 
--namespace can be used as a option in oadm cmd, but it is not displayed in oadm router --help page
--project-labels and --fields options can not be used as a option in oadm cmd and not displayed in oadm router --help page
only --labels works fine to be  used as a option in oadm cmd and displayed in oadm router --help page

Version-Release number of selected component (if applicable):
oc v3.1.1.6

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