K8s/IAM: Move identity.grafana.app to iam.grafana.app (#92929)

This commit is contained in:
Ryan McKinley
2024-09-05 09:43:54 +03:00
committed by GitHub
parent aae788ae46
commit 9338e40dc3
85 changed files with 142 additions and 143 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ var pathRewriters = []filters.PathRewriter{
},
},
{
Pattern: regexp.MustCompile(`(/apis/identity.grafana.app/v0alpha1/namespaces/.*/display$)`),
Pattern: regexp.MustCompile(`(/apis/iam.grafana.app/v0alpha1/namespaces/.*/display$)`),
ReplaceFunc: func(matches []string) string {
return matches[1] + "/name" // connector requires a name
},