Skip to content

networking: add suffix match type to StringMatch - #3759

Open
kaiburjack wants to merge 2 commits into
istio:masterfrom
kaiburjack:stringmatch-suffix
Open

networking: add suffix match type to StringMatch#3759
kaiburjack wants to merge 2 commits into
istio:masterfrom
kaiburjack:stringmatch-suffix

Conversation

@kaiburjack

Copy link
Copy Markdown

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

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
@kaiburjack
kaiburjack requested a review from a team as a code owner August 18, 2026 14:15
@istio-policy-bot

Copy link
Copy Markdown

😊 Welcome @kaiburjack! This is either your first contribution to the Istio api repo, or it's been
a while since you've been here.

You can learn more about the Istio working groups, Code of Conduct, and contribution guidelines
by referring to Contributing to Istio.

Thanks for contributing!

Courtesy of your friendly welcome wagon.

@istio-testing istio-testing added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. needs-ok-to-test labels Aug 18, 2026
@istio-testing

Copy link
Copy Markdown
Collaborator

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions 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
@istio-testing

Copy link
Copy Markdown
Collaborator

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ok-to-test size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants