-
Notifications
You must be signed in to change notification settings - Fork 102
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
PathPrefix-based Routing #677
Conversation
Tests for this feature are coming in the next few days. I'll rebase with #669 when necessary until it gets merged. |
@similark, can you try this version and see if that works as you would expect? Just add set apiVersion: http.keda.sh/v1alpha1
kind: HTTPScaledObject
spec:
pathPrefix: /foo/bar
... |
@t0rr3sp3dr0 I actually did the exact same thing and it works great.. I'll test your version today and update here soon. |
Let's wait until this is merged for adding new e2e test for this new feature |
I have merged #686 |
Signed-off-by: Pedro Tôrres <pedrotorres@microsoft.com>
5dc6853
to
5889119
Compare
Signed-off-by: Pedro Tôrres <pedrotorres@microsoft.com>
Signed-off-by: Pedro Tôrres <pedrotorres@microsoft.com>
Signed-off-by: Pedro Tôrres <pedrotorres@microsoft.com>
0ed247a
to
04f3c1d
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.
Really nice improvement! ❤️
Small nits inline
Signed-off-by: Pedro Tôrres <t0rr3sp3dr0@gmail.com> Signed-off-by: Pedro Tôrres <pedrotorres@microsoft.com>
7fcc272
to
8854607
Compare
Don't we need to update the crd int the chart as well? @JorTurFer @t0rr3sp3dr0 Magnificent work @t0rr3sp3dr0! We'll start using this very soon |
Yeah, I forgot that change, let me ship another version with this fixed |
Implements routing based on a path prefix in addition to the host. A new
.spec.pathPrefix
field was created on HTTPScaledObject. When not specified, the routing behaviour is exactly the same as we had previously with hose-based routing.Depends on: #669
Checklist
README.md
docs/
directoryFixes #338