Closed willdavsmith closed 7 months ago
@willdavsmith do we know why we are doing HTTP POST for get graph?
@kachawla, we use a POST on this API since we are computing graph which is a custom action on an existing resource (application). This is so that we are compatible with ARM (https://azure.github.io/typespec-azure/docs/howtos/ARM/resource-operations#resource-actions-post). cc @rynowak
@kachawla, we use a POST on this API since we are computing graph which is a custom action on an existing resource (application). This is so that we are compatible with ARM (https://azure.github.io/typespec-azure/docs/howtos/ARM/resource-operations#resource-actions-post). cc @rynowak
Makes sense. Thank you @nithyatsu!
Steps to reproduce
Install Radius v0.32 deploy an application rad run or rad deploy and open dashboard visit the APP GRAPH tab on the application in the dashboard and an infinite load will happen
Observed behavior
Checking the logs shows a Failed to load resource: the server responded with a status of 403 (Forbidden) for a POST request to the
http://localhost:7007/api/kubernetes/proxy/apis/api.ucp.dev/v1alpha3//planes/radius/local/resourcegroups/default/providers/Applications.Core/applications/dashboarddemo/getGraph?api-version=2023-10-01-preview
endpointDesired behavior
App graph shows
Workaround
Edit the dashboard clusterrole to use all verbs instead of just
get
andlist
k edit clusterrole -n radius-system dashboard
Additional context
No response
Would you like to support us?
AB#11739