-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add websockets support for vs/vsr upstreams #653
Conversation
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.
Please see my comments
aba3c2d
to
163247e
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.
@Dean-Coakley thx for the update. Please revert the changes done for the Ingress resources, as those are not required for this PR.
163247e
to
853b57c
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.
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
Maybe it makes sense that @tellet takes a look to the tests changes so she's aware? Adding her as a reviewer.
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.
@Dean-Coakley Could you please rebase onto master. There is a new test merged TestVSHealthCheckUpstreamOption
. It should probably be updated too.
7171c7f
to
8783934
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.
looks good! please see the comment about the variable name before merging
* Was testing for the presence of "proxy_set_header Connection" * Now tests for the presence of "set $default_connection_header" $default_connection_header is a custom variable that is used for upgrading to the Websocket protocol when using vs/vsr upstreams
9949e2e
to
2f61526
Compare
Proposed changes
This PR adds support for Websocket connections for upstreams without any additional configuration when configuring via VirtualServer or VirtualServerRoute.
Checklist
Before creating a PR, run through this checklist and mark each as complete.