-
Notifications
You must be signed in to change notification settings - Fork 20
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
[Bug] Subviews like /recordings/create
are not accessible when visited directly
#1284
Comments
Seems like going to Probably happening since #1175 then. |
Now that the standard Cryostat deployment includes an auth proxy, it might be possible to solve the original https://github.com/cryostatio/cryostat/issues/1810 using an auth proxy configuration plus Route/Ingress path configuration, and back out #1175. |
This affects |
Right, make sense! That explained the logged error :(
Just curious what's the plan for this fix? |
Currently no plan, that was just a very rough idea. It would be nice to have the ability to go directly to paths like |
I am thinking if no errors with with the regular single level |
That's one potential way around, but I think it's pretty limiting. It makes sense right now because none of the UI paths are parameterized, so applying such a transformation looks like it works. It wouldn't work anymore if we had any paths like |
ah okayy pretty bad idea then :(( |
/recordings/create
are not accessible when visited directly
well it would break if I configure istio to route to Cryostat with a 2-level prefix Not very urgent I guess but just curious from my end as I am looking into the istio stack :D |
Deploying Cryostat onto a path other than If there is some other router or reverse proxy in front of Cryostat (or in front of the auth proxy) then it should be possible to do this by having the router/proxy take requests like Backing out #1175 and adding in the router/proxy in front sounds like it could be a full solution to allow deployment to a non-root path as well as restoring direct links to deeper paths like If the auth proxy can be configured to do this, then great - we have our general-purpose upstream solution. If it needs to be another proxy, either in front of the auth proxy or between the auth proxy and Cryostat, then we would need to have some more discussion about it. The additional container would need to be something we can disable, because if most users are not using this feature then it doesn't make sense to force them to deploy another container and pay for its footprint if it just ends up transparently passing requests. |
Ahh okayy! As in https://github.com/cryostatio/cryostat/issues/1810, istio can allow rewriting back the path to |
Current Behavior
If I directly visit views by specifying their paths such as:
For example,
https://cryostat-sample-myns.apps-crc.testing/recordings/create
. A blank page is showed:with the following console's error:
Expected Behavior
The sub views should render correctly!
Steps To Reproduce
crc start
.main
:Environment
Anything else?
This only happens if I visit the sub-view directly. That is: If I go
/recordings
-> Click Create ->/recordings/create
, all is fine.The text was updated successfully, but these errors were encountered: