machadojoao opened a new issue, #1927:
URL: https://github.com/apache/apisix-ingress-controller/issues/1927

   ### Issue description
   
   Hi, I have some APIs paths like:
   
   /api/:id/my-entity1
   /api/:id/my-entity2
   
   I could not use the CRD ApisixRoute because it has a validation for this 
field that the wildcard must be at the end.
   
   ` spec.http[0].match.paths[0] in body should match 
'^/[a-zA-Z0-9\-._~%!$&'()+,;=:@/]*\*?$'`
   
   But if I use the admin api directly (our by the dashboard), I'm able to use 
a wildcard at path like:
   
   `{
     "uris": [
       "/api/*/my-entity1",
       "/api/*/my-entity2"
     ],
     "name": "route,
     "priority": 0,
     "methods": [
       "GET"
     ],
     "upstream_id": "2fa86803"
     "status": 1
   }`
   
   Is there anyway to do this with CRDs?
   
   ### Environment
   
   - your apisix-ingress-controller version (output of 
apisix-ingress-controller version --long):
   - your Kubernetes cluster version (output of kubectl version):
   - if you run apisix-ingress-controller in Bare-metal environment, also show 
your OS version (uname -a):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to