networking: add suffix match type to StringMatch - #3759
Conversation
Adds a suffix option to the StringMatch oneof, mapping to Envoy's native StringMatcher suffix matching. Supported in VirtualService HTTP match conditions (headers, withoutHeaders, authority, scheme, method, queryParams) and CORS allowOrigins; not supported for uri matching. Ref: istio/istio#61292
|
😊 Welcome @kaiburjack! This is either your first contribution to the Istio api repo, or it's been You can learn more about the Istio working groups, Code of Conduct, and contribution guidelines Thanks for contributing! Courtesy of your friendly welcome wagon. |
|
Hi @kaiburjack. Thanks for your PR. I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
1 similar comment
|
Hi @kaiburjack. Thanks for your PR. I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Covers the new suffix match type in authority, headers, queryParams, withoutHeaders and CORS allowOrigins, alongside the existing exact/prefix/regex types. The suffix cases fail against the previous CRD schema with 'unknown fields' and pass with the regenerated one.
5c40bd9 to
e73864a
Compare
Adds a suffix option to StringMatch, mapping to Envoy's native StringMatcher suffix. Supported in VirtualService HTTP match conditions (headers, withoutHeaders, authority, scheme, method, queryParams) and CORS allowOrigins.
Not supported for uri matching.
Ref: istio/istio#61292