Bug 1460948 - [RFE] Add to the status how the router should be reached
[RFE] Add to the status how the router should be reached
Status: NEW
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE (Show other bugs)
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Eric Paris
Xiaoli Tian
Depends On:
  Show dependency treegraph
Reported: 2017-06-13 04:42 EDT by Ruben Romero Montes
Modified: 2018-06-14 06:23 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ruben Romero Montes 2017-06-13 04:42:41 EDT
From the RFE Template:
> 1. Proposed title of this feature request
Add to the status how the router should be reached

> 3. What is the nature and description of the request?
The customer wanted to deploy multiple routers in the same node using different ports but when deploying applications like Jenkins or RH-SSO the authentication redirect was taking the user to the wrong port.

> 4. Why does the customer need this? (List the business requirements here)
The only known way to overcome this is by changing the serviceaccount either manually or at the template level.

serviceaccounts.openshift.io/oauth-redirectreference.second: {"kind":"OAuthRedirectReference","apiVersion":"v1","reference":{"kind":"Route","name":"jenkins"}}'
serviceaccounts.openshift.io/oauth-redirecturi.second: //:11443

> 5. How would the customer like to achieve this? (List the functional requirements here)
As a user I want to be able to configure a firewall/proxy externally and my routers to be deployed on different ports (e.g. 11443). Then, when I deploy an application which takes the redirect url from the router status, the application would know where to redirect, including the port.
 - Currently the oauth URL would be:

 - The expected redirect_uri should use port 443 instead

> 6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
Jenkins or any other application using OAuth should be capable of getting the right redirect url from the additional information added to the either the route or the router status.

> 10. List any affected packages or components.

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