-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Do not apply proxy settings for JWTProxy container; #14448
Conversation
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
.getPodsData() | ||
.entrySet() | ||
.stream() | ||
.filter(entry -> !entry.getKey().equals(JWT_PROXY_POD_NAME)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Please consider adding one like comment why here we ignore JWT_PROXY pod.
-
Please consider adding test case for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why i am always modifying classes which doesn;t have tests at all 🤣 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cause you're a lucky man! 🤣
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
ci-test |
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
ci-build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Selenium tests execution on Eclipse Che Multiuser on OCP (https://ci.codenvycorp.com/job/che-pullrequests-test-ocp/2217/) doesn't show any regression against this Pull Request. |
What does this PR do?
When workspace proxy is set, this setting applied to all containers of the workspace, including JWTProxy. So when JWTProxy tries to access the upstream endpoint (which is always in internal form, e.g.
http://servers7ggiqm3-che-machine-execs37:4444
) it fails. This PR prevents of adding proxy settings to the JWTProxy containers, which is OK since JWTProxy never does any outbound requests.What issues does this PR fix or reference?
#14052
Release Notes
N/A
Docs PR
N/A