-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Remove rule type path list. #1630
Conversation
@emilevauge and others: I think this one should still go into 1.3. If you believe that master is the better target, please let me know and I'll rebase. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timoreimann great move ;)
Could you add some tests on PathPrefixStrip
PathStrip
& Path
rules?
This is linked to the previous PR #1151.
@emilevauge Pushed more tests. Not sure if that's what you had in mind though since the new implementation doesn't care what value we put into the annotation (the validation now happens in Let me know. :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @timoreimann
LGTM
1a94d6f
to
2d74241
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Instead of doing sanity checks in the Kubernetes provider, we just accept any non-empty value from the annotation and rely on the server part to filter out unknown rules. This allows us to automatically stay in sync with the currently supported Path matchers/modifiers.
2d74241
to
1757671
Compare
Instead of doing sanity checks in the Kubernetes provider, we just accept any non-empty value from the annotation and rely on the server part to filter out unknown rules.
This allows us to automatically stay in sync with the currently supported Path matchers/modifiers.
Fixes #1627.