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
(JWA and notebook controller): Set header needed for R-Studio #5618
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: DavidSpek The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: DavidSpek The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
ef24c2e
to
97306b4
Compare
97306b4
to
a7034ca
Compare
This PR add a checkbox under the advanced settings section and changes to the notebook-controller that are needed for running R-Studio without Istio. More specifically, when the checkbox is selected, the Istio VirtualService will add the
X-RStudio-Root-Path
header with theNB_PREFIX
to the requests. This is needed to fix the redirect R-Studio does to/auth-sign-in
to get a cookie (with this fix, R-Studio redirects to/NB_PREFIX/auth-sign-in
as it should). This PR also contains the changes from #5601, but will be reworked once the notebook-controller code is fixed up a bit.