Bug 1307087 - Document router options under oadm router --help
Summary: Document router options under oadm router --help
Keywords:
Status: CLOSED EOL
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.1.0
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
: ---
Assignee: Maciej Szulik
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-12 16:45 UTC by Weibin Liang
Modified: 2019-08-21 08:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-21 08:32:36 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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