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
Not sure yet but perhaps this has to do with the fact that other (non global) APIs have other geo based URLs "to choose from", whereas there's only 1 global URL which is "hardcoded" in generated sdk, example:
Problem statement
Up until now, this SDK worked around the global URLs for calls that were not targeted for the default API (prod) with the following work around:
sdk-konnect-go/internal/hooks/url.go
Lines 13 to 25 in db15240
This doesn't scale.
Recently, working on KIC's user roles cleanup code (https://github.com/Kong/kubernetes-ingress-controller/blob/main/hack/cleanup/konnect_control_planes.go) I've noticed that listing user roles has the same problem and that would require adding yet another operation ID to to above linked workaround.
This issue tracks the effort to provide a proper solution for this problem.
The text was updated successfully, but these errors were encountered: