Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Avoid the need to set userland-proxy #58

Merged
merged 9 commits into from
May 14, 2019
Merged

Avoid the need to set userland-proxy #58

merged 9 commits into from
May 14, 2019

Conversation

davidfestal
Copy link
Contributor

@davidfestal davidfestal commented May 10, 2019

What does this PR do?

Since, in the current Che implementation, all plugin containers are run on the same POD as the Theia IDE container, let's change the default behavior of the plugin brokers to use localhost as the IP of side-car plugin endpoints, instead of using the short service name, which, in some cases, cannot be reached.

What issues does this PR fix or reference?

eclipse-che/che#11018

This should also fix issue redhat-developer/rh-che#1371 as mentionned in
redhat-developer/rh-che#1371 (comment)

Has this PR been tested ?

Tested on upstream Che on minishift, with the docker image corresponding to the (now merged) PR eclipse-che/che#13311

Signed-off-by: David Festal <dfestal@redhat.com>
…unnecessary K8s servicesSigned-off-by: David Festal <dfestal@redhat.com>

Signed-off-by: David Festal <dfestal@redhat.com>
Signed-off-by: David Festal <dfestal@redhat.com>
Signed-off-by: David Festal <dfestal@redhat.com>
Signed-off-by: David Festal <dfestal@redhat.com>
@codecov
Copy link

codecov bot commented May 10, 2019

Codecov Report

Merging #58 into master will increase coverage by 0.13%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
+ Coverage   62.38%   62.52%   +0.13%     
==========================================
  Files           6        6              
  Lines         553      555       +2     
==========================================
+ Hits          345      347       +2     
  Misses        182      182              
  Partials       26       26
Impacted Files Coverage Δ
brokers/unified/vscode/broker.go 74.76% <100%> (+0.24%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update afd9ae1...7324058. Read the comment docs.

@davidfestal davidfestal self-assigned this May 10, 2019
.vscode/launch.json Outdated Show resolved Hide resolved
@davidfestal davidfestal changed the title [WIP] Avoid the need to set userland-proxy Avoid the need to set userland-proxy May 14, 2019
cfg/cfg.go Outdated Show resolved Hide resolved
cfg/cfg.go Outdated Show resolved Hide resolved
davidfestal and others added 4 commits May 14, 2019 16:02
Co-Authored-By: Florent BENOIT <fbenoit@redhat.com>
Co-Authored-By: Florent BENOIT <fbenoit@redhat.com>
@davidfestal davidfestal merged commit 23a7e2d into master May 14, 2019
@davidfestal
Copy link
Contributor Author

@amisevsk This might be interesting to create a minor version of the v17 release, no ? So that it would be used by upstream master ? at least to do it as soon as prod-preview will use the v3 plugin registry (if not already the case). wdyt ?

@amisevsk
Copy link
Contributor

@davidfestal che-plugin-broker:v0.17.1 is released.

@nickboldt nickboldt deleted the fix-che-11018 branch June 29, 2021 19:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants