-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ports-plugin] don't prompt user to redirect endpoints with `exposure…
…: none` (#301) * [ports-plugin] Remove JWT endpoint handling in che-port extension The JWT proxy was removed as of Che 7.42 and is no longer used. See Che issue eclipse-che/che#21275 for details. * [ports-plugin] Don't prompt to expose endpoints with exposure: none in ports-plugin If an endpoint exists in the devfile and has exposure: none, we shouldn't prompt the user to expose that endpoint if a process starts listening on localhost. * [ports-plugin] Update prompt when process is listening to localhost If a process starts that is listening to localhost (and is thus inaccessible from outside the pod), we show a prompt to the user to add it to Code's redirect routes. However, if the process is listening on a port that matches a public endpoint in the devfile, we should prompt differently, noting the potential error, since the user intends to use the endpoint route instead of a redirect route. --------- Signed-off-by: Angel Misevski <amisevsk@redhat.com>
- Loading branch information
Showing
2 changed files
with
26 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters