Bug 1391786
Summary: | [networking_public_222]Should add related option like 'wildcardPolicy' for CLI/WEB when creating route | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | zhaozhanqi <zzhao> |
Component: | Networking | Assignee: | Jacob Tanenbaum <jtanenba> |
Status: | CLOSED ERRATA | QA Contact: | Meng Bo <bmeng> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 3.4.0 | CC: | aos-bugs, bbennett, jokerman, jtanenba, mcurry, mmccomas, tdawson |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: |
Feature: Add wildcard route support to the CLI
Reason: A feature was not exposed in the CLI.
Result: Now you can create routes as wildcard in the CLI.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-04-12 19:16:00 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
zhaozhanqi
2016-11-04 03:23:26 UTC
We should also report the wildcard status back to the CLI when GET the routes. $ oc get route -o wide NAME HOST/PORT PATH SERVICES PORT TERMINATION route-edge3 edge.example.com service-unsecure <all> edge The work for the CLI is done (https://github.com/openshift/origin/issues/12238) The web console work is being done on card https://trello.com/c/GEdeKzea Closing this in preference to the card. hi, reopen this bug since it's not complete. 1. this feature should be also added to `oc create route` for the TLS related route. 2. should add an extra column for oc get route at same time. Linked PR should complete this BZ https://github.com/openshift/origin/pull/12713 Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/5dbe22899128d7066d4c2783c10eb858a5c5bb12 Adding wildcardpolicy flag to `oc create route` and a column for the wildcardpolicy to `oc get route' Adding wildcard policy to 'oc create route' Adding a column for wildcard policy in 'oc get route' Bug 1391786 follow up PR: https://github.com/openshift/origin/pull/12774 This has been merged into ocp and is in OCP v3.5.0.17 or newer. Did testing on v3.5.0.17 version, the added option is working well. there is a little issue for `oc expose svc` found in `oc expose svc` the option still is '--wildcardpolicy=', please help updated to '--wildcard-policy=' in order to keep consistent with `oc create route` side ************ oc expose svc ********************* $ oc expose svc --help | tail -3 --wildcardpolicy='': Sets the WildcardPolicy for the hostname, the default is "None". Valid values are "None" and "Subdomain" ************ oc create route************************ # oc create route edge --help | tail -4 # oc create route edge --help | tail -3 --wildcard-policy='': Sets the WilcardPolicy for the hostname, the default is "None". valid values are "None" and "Subdomain" Use "oc options" for a list of global command-line options (applies to all commands). Posted follow-up https://bugzilla.redhat.com/show_bug.cgi?id=1391786 (In reply to jtanenba from comment #12) > Posted follow-up > > https://bugzilla.redhat.com/show_bug.cgi?id=1391786 Sorry the link is https://github.com/openshift/origin/pull/12849 This has been merged into ocp and is in OCP v3.5.0.18 or newer. Verified this bug on v3.5.0.18 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, 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-2017:0884 |