| Summary: | [platformmanagement_public_544]--path doesn't work for oc expose | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Wei Sun <wsun> |
| Component: | oc | Assignee: | Michail Kargakis <mkargaki> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Wei Sun <wsun> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.x | CC: | aos-bugs, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-12 17:15:04 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: | |
|
Description
Wei Sun
2016-02-04 06:56:31 UTC
Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/1cc96ecc37dcfda05e08f26c709bf0d1661537fa Bug 1304604: add missing route generator param for path Verified on devenv-rhel7_3335
Result:
# oc expose service hello-nginx --hostname=www.example.com --path=/test
route "hello-nginx" exposed
[root@ip-172-18-13-42 /]# oc get route hello-nginx -o json
{
"kind": "Route",
"apiVersion": "v1",
"metadata": {
"name": "hello-nginx",
"namespace": "wsun-1",
"selfLink": "/oapi/v1/namespaces/wsun-1/routes/hello-nginx",
"uid": "45ca7603-cbc2-11e5-9f87-0e0b19999ca9",
"resourceVersion": "754",
"creationTimestamp": "2016-02-05T04:38:15Z",
"labels": {
"name": "hello-nginx"
}
},
"spec": {
"host": "www.example.com",
"path": "/test",
"to": {
"kind": "Service",
"name": "hello-nginx"
},
"port": {
"targetPort": "http"
}
},
"status": {}
}
|