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
* The Authorization header is required for both the Crate API and the MCP API and the correct token is passed in the config object that is consumed outside this function from the context that has handled the OIDC flow to get a token.
51
-
*/
48
+
// The default headers used for the fetch request.
49
+
// The Authorization header is required for both the Crate API and the MCP API and the correct token is passed in the config object that is consumed outside this function from the context that has handled the OIDC flow to get a token.
* Set the jq header to do a jq transformation on the proxy server.
61
-
*/
57
+
// Set the jq header to do a jq transformation on the proxy server.
62
58
if(jq)headers[jqHeader]=jq;
63
59
64
-
/**
65
-
* If the config object has a mcpConfig, it is assumed that the request is for the MCP API server and the necessary headers are set for the backend to get the OIDC kubeconfig without exposing it to the frontend,
66
-
* otherwise, the useCrateClusterHeader is set to true to indicate that the request is for the Crate.
67
-
*/
60
+
// If the config object has a mcpConfig, it is assumed that the request is for the MCP API server and the necessary headers are set for the backend to get the OIDC kubeconfig without exposing it to the frontend,
61
+
// otherwise, the useCrateClusterHeader is set to true to indicate that the request is for the Crate.
0 commit comments