Hi Team, I'm running into an issue with the Pinot ...
# general
m
Hi Team, I'm running into an issue with the Pinot Controller UI and the Swagger REST API when using an NGINX Ingress with a subpath. I'm hoping someone has encountered this and can help. Here goes the problem summary: I've configured my ingress to expose the Pinot Controller at
<https://example.com/pinot/>
. The main UI works fine and most links are correctly routed. Those that works open on
<https://example.com/pinot/#/>...
However, the Swagger REST API UI link is not. Swagger API button, it tries to access
<https://example.com/help>
instead of
<https://example.com/pinot/help>
, resulting in a 404 Not Found error. I don't see an obvious way to enforce the swagger link subpath to something other than (/) ? I am using helm, and I have been looking for different options in https://github.com/apache/pinot/blob/master/helm/pinot/README.md but nothing worked.. thanks in advance..
m
I think it is not configurable atm, but hardcoded to
/help
. It should be easy to make it configurable if you want to give it a shot.
m
Thanks Mayank.. and Yes, I will see what I can do
🙌 1
x
That may need npm change for relative path. Please file a github issue and submit pr if you want to fix it