Bug 1307087

Summary: Document router options under oadm router --help
Product: OpenShift Container Platform Reporter: Weibin Liang <weliang>
Component: ocAssignee: Maciej Szulik <maszulik>
Status: CLOSED EOL QA Contact: Wei Sun <wsun>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-21 08:32:36 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:
Embargoed:

Description Weibin Liang 2016-02-12 16:45:34 UTC
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

Comment 1 Maciej Szulik 2019-08-21 08:32:36 UTC
Closing due to age. This also does not apply to latest 4.x releases any more.