K8s/IAM: Use raw handler for display (not rest.Connector) (#99898)

This commit is contained in:
Ryan McKinley
2025-02-03 14:24:35 +03:00
committed by GitHub
parent 2aa78139c4
commit b636b81b16
7 changed files with 270 additions and 262 deletions
-6
View File
@@ -52,12 +52,6 @@ var PathRewriters = []filters.PathRewriter{
return matches[1] + "/name" // connector requires a name
},
},
{
Pattern: regexp.MustCompile(`(/apis/iam.grafana.app/v0alpha1/namespaces/.*/display$)`),
ReplaceFunc: func(matches []string) string {
return matches[1] + "/name" // connector requires a name
},
},
{
Pattern: regexp.MustCompile(`(/apis/.*/v0alpha1/namespaces/.*/queryconvert$)`),
ReplaceFunc: func(matches []string) string {