Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal/xds/rbac: Add support for string matcher in RBAC header matching #6419

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

zasweq
Copy link
Contributor

@zasweq zasweq commented Jun 27, 2023

Fixes #6369. This PR adds support for string matcher in RBAC header matching. This was added to the RDS flow in PR #6313, and a user requested symmetry in issue #6226. StringMatcher as HeaderMatch is already unit tested, so just added a test that a HeaderMatcher that specifies StringMatcher is good RBAC configuration.

RELEASE NOTES:

  • Add support for string matcher in RBAC header matching

@zasweq zasweq requested a review from easwars June 27, 2023 21:13
@zasweq zasweq added the Type: Feature New features or improvements in behavior label Jun 27, 2023
@zasweq zasweq added this to the 1.57 Release milestone Jun 27, 2023
@zasweq zasweq force-pushed the string-matching-in-header-matching-rbac branch from f0ac2ed to cdb28d6 Compare June 27, 2023 21:22
@easwars easwars assigned zasweq and unassigned easwars Jun 27, 2023
@zasweq zasweq changed the title internal/matcher/rbac: Add support for string matcher in RBAC header matching internal/xds/rbac: Add support for string matcher in RBAC header matching Jun 27, 2023
@zasweq zasweq merged commit 07718ef into grpc:master Jun 27, 2023
1 check passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Feature New features or improvements in behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support string matcher for header matching in RBAC.
2 participants