Skip to content

Fix start of a workspace with Theia on k8s infra#10513

Merged
garagatyi merged 1 commit intoeclipse-che:masterfrom
garagatyi:fixTheiaOnk8sDefaultServerStrategy
Jul 26, 2018
Merged

Fix start of a workspace with Theia on k8s infra#10513
garagatyi merged 1 commit intoeclipse-che:masterfrom
garagatyi:fixTheiaOnk8sDefaultServerStrategy

Conversation

@garagatyi
Copy link
Copy Markdown

@garagatyi garagatyi commented Jul 23, 2018

What does this PR do?

When default-host strategy for server links evaluation is used
on k8s infra Theia server has a link without trailing slash.
This leads to a situation when Theia doesn't load because its
main javascript is not loaded properly (URL gets truncated to
parent and then name of the script is added).
This PR adds a trailing slash to Theia server definition to
fix this.
Theia stack for Openshift recipe is changed to align
configuration of dockerimage and openshift stacks.

What issues does this PR fix or reference?

Release Notes

Docs PR

When default-host strategy for server links evaluation is used
on k8s infra Theia server has a link without trailing slash.
This leads to a situation when Theia doesn't load because its
main javascript is not loaded properly (URL gets truncated to
parent and then name of the script is added).
This PR adds a trailing slash to Theia server definition to
fix this.
Theia stack for Openshift recice is changed to align
configuration of dockerimage and openshift stacks.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
@garagatyi garagatyi requested review from ashumilova and benoitf July 23, 2018 15:18
@benoitf benoitf added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/bug Outline of a bug - must adhere to the bug report template. labels Jul 23, 2018
@garagatyi garagatyi merged commit 3dff9f0 into eclipse-che:master Jul 26, 2018
@garagatyi garagatyi deleted the fixTheiaOnk8sDefaultServerStrategy branch July 26, 2018 10:16
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Jul 26, 2018
@benoitf benoitf added this to the 6.9.0 milestone Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Outline of a bug - must adhere to the bug report template.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants