Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow use of ConsoleLinks for route determination. #78

Merged

Conversation

jeff-phillips-18
Copy link
Contributor

Fixes:
Jira: https://issues.redhat.com/browse/RHODS-750
Jira: https://issues.redhat.com/browse/RHODS-245

Analysis / Root cause:
To determine the route for some applications, we need to find the ConsoleLink associated with the application.
Other applications may need to specify an endpoint (full URL) for the route.

Solution Description:
Allow the application to specify a ConsoleLink to use to find the URL from (the spec.href field).
Allow the application to specify an endpoint for the route.
Also, allow <CLUSTER_ID/> as a replaceable variable in endpoint routes and for getting started links.

Also, allow <CLUSTER_ID/> as a replaceable variable in endpoint routes and for getting started links.
Copy link
Member

@cfchase cfchase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and LGTM. We going to need additional permissions to query console links?

@jeff-phillips-18
Copy link
Contributor Author

Tested and LGTM. We going to need additional permissions to query console links?

Yeah. I'll add them.

@jeff-phillips-18 jeff-phillips-18 merged commit 9694aca into opendatahub-io:master Jul 23, 2021
jeff-phillips-18 added a commit to jeff-phillips-18/odh-dashboard that referenced this pull request Jul 23, 2021
Also, allow <CLUSTER_ID/> as a replaceable variable in endpoint routes and for getting started links.
jeff-phillips-18 added a commit to jeff-phillips-18/odh-dashboard that referenced this pull request Jul 27, 2021
opendatahub-io#115)

Also, allow <CLUSTER_ID/> as a replaceable variable in endpoint routes and for getting started links.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants