-
Notifications
You must be signed in to change notification settings - Fork 470
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
[kong] add support for stream listens #103
Conversation
* Add values.yaml configuration for stream listens under "proxy". * Add new "kong.singleListen" helper for generating individual listen configurations. Refactor "kong.listen" to use "kong.singleListen". * Add new "kong.streamListen" helper to generate stream listen directives. * Update deployment and proxy service templates to include stream listen ports.
* Correct and reorganize documentation for stream listens. * Remove duplicate parameters from (all) listens. * Generate stream listen names automatically.
Please update an existing test to include a stream listen in DB and DB-less mode. Otherwise, looks good. |
Add stream listen configuration to the existing CI tests for DB-backed and DB-less deployments without an ingress controller.
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.
One comment, please correct that and then merge.
Please squash and merge.
charts/kong/ci/test3-values.yaml
Outdated
@@ -1,4 +1,4 @@ | |||
# CI test for testing dbless deployment without ingress controllers | |||
# CI test for testing dbless deployment without ingress controllers and stream listens |
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 remove this diff before merging in.
Add support for stream listens as additional proxy ports: * Add values.yaml configuration for stream listens under "proxy". * Add new "kong.singleListen" helper for generating individual listen configurations. Refactor "kong.listen" to use "kong.singleListen". * Add new "kong.streamListen" helper to generate stream listen directives. * De-duplicate listen parameters. * Update deployment and proxy service templates to include stream listen ports. * Add stream listens to CI values.
What this PR does / why we need it:
Adds support for stream listens as an additional listen type on the proxy.
Special notes for your reviewer:
I'm still running into issues with the balancer when attempting to configure these:
I'd run into them previously with TCPIngress testing and got them again when configuring manual test config for this. That definitely warrants investigation, but I don't think it's anything to do with the PR: the PR code is only setting up the listens and making them accessible, and that does work.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
next
branch and targetsnext
, notmaster
[kong]
)