You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the watchkeeper logs we see “POST heartbeat to razeedash failed” and this is because it’s trying to post to https://<host>/api/v2/clusters/... instead of the route we are using for razeedash-api which is https://<host>/api/collector/v2/clusters/....
To Reproduce
Using Istio, we have a rewrite rule set up like this:
Describe the bug
When using URL rewriting to route requests to Razee, watchkeeper fails to post to razeedash because the API base path is hardcoded to /api/v2 here https://github.com/razee-io/Razeedash-api/blob/1fe88efc21a2ba9e46aa8938fa9604828c0b7358/app/routes/install/index.js#L30.
In the watchkeeper logs we see “POST heartbeat to razeedash failed” and this is because it’s trying to post to
https://<host>/api/v2/clusters/...
instead of the route we are using for razeedash-api which ishttps://<host>/api/collector/v2/clusters/...
.To Reproduce
Using Istio, we have a rewrite rule set up like this:
So everything routed to https:///api/collector gets rerouted to https:///api
Expected behavior
We would like the API base path in https://github.com/razee-io/Razeedash-api/blob/1fe88efc21a2ba9e46aa8938fa9604828c0b7358/app/routes/install/index.js#L30 and everywhere else in the code to be configurable.
The text was updated successfully, but these errors were encountered: