Expose queryconvert endpoint (#93656)

This commit is contained in:
Andres Martinez Gotor
2024-09-25 15:10:19 +02:00
committed by GitHub
parent 177965704d
commit 225600a08b
6 changed files with 259 additions and 2 deletions
+6
View File
@@ -52,6 +52,12 @@ var PathRewriters = []filters.PathRewriter{
return matches[1] + "/name" // connector requires a name
},
},
{
Pattern: regexp.MustCompile(`(/apis/.*/v0alpha1/namespaces/.*/queryconvert$)`),
ReplaceFunc: func(matches []string) string {
return matches[1] + "/name" // connector requires a name
},
},
}
func getDefaultBuildHandlerChainFunc(builders []APIGroupBuilder) BuildHandlerChainFunc {