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
Authorization policy: allow specifying string match for path and conditions #2173
Conversation
🤔 🐛 You appear to be fixing a bug in Go code, yet your PR doesn't include updates to any test files. Did you forget to add a test? Courtesy of your friendly test nag. |
😊 Welcome @sschepens! 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 contributing guidelines Thanks for contributing! Courtesy of your friendly welcome wagon. |
Hi @sschepens. 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 Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
@howardjohn what is your opinion on this? I would like to make progress on this feature, it is something that many people need. |
d95e15f
to
2a53bd0
Compare
@sschepens: PR needs rebase. 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/test-infra repository. |
I would love for this PR to be merged! We really need this feature. |
Yes please someone validate the PR, a lot of people are waiting this feature for so long |
Closing due to implementation in istio/istio#50365 |
Add StringMatcher options to Path and Condition in AuthorizationPolicy.
We use the same StringMatcher as used in VirtualHosts to provide consistent matching in both.
If both String and StringMatcher are present, they should be appended.
Fixes istio/istio#16585
Related: istio/istio#35641
@howardjohn wdyt? this way we can prevent introducing breaking changes in the exiting APIs but still support matching by regex as needed.