cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Use {*} and {**} Operators in APIRule v2alpha1 Paths

abhinavsingh04
Explorer
0 Kudos
203

I am currently working with Kyma and trying to use the APIRule v2alpha1 Custom Resource to define paths that include {*} and {**} operators as mentioned in the documentation .

example: path: /api/{*}/details/{**}

However, when I try to apply this configuration, I get the following error:

The APIRule "multiple-services-jwt" is invalid: spec.rules[1].path: Invalid value: "/api/{*}/details/{**}": spec.rules[1].path in body should match '^(\/\*|\/[0-9a-zA-Z/()?!\\_-]+)$'

 

This error suggests that the {*} and {**} operators are not allowed, even though the official documentation specifies that these operators can be used to match paths with dynamic segments.

Thank you in advance for your help!

Best regards,
Abhinav

View Entire Topic
bchwila
Advisor
Advisor

Dear Abhinav,

The planned rollout was on 27.11 (yesterday), so it should already be available. You should re-check if the issue persists.

Best regards,

Bartosz

abhinavsingh04
Explorer