Skip to content
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

WIP: Add IPv6 listener config option #1300

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

covert8
Copy link

@covert8 covert8 commented Oct 18, 2024

Changes

Adds config option to enable listening on IPv6 (default false)

  • 🐛 Enable listening on IPv6

/kind bug

Fixes #1299

Release Note

Add ability to change address family used for kourier listeners (default IPv4 value unchanged)

Docs

pending

@knative-prow knative-prow bot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 18, 2024
Copy link

linux-foundation-easycla bot commented Oct 18, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@knative-prow knative-prow bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Oct 18, 2024
Copy link

knative-prow bot commented Oct 18, 2024

Welcome @covert8! It looks like this is your first PR to knative-extensions/net-kourier 🎉

Copy link

knative-prow bot commented Oct 18, 2024

Hi @covert8. Thanks for your PR.

I'm waiting for a knative-extensions member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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-sigs/prow repository.

@knative-prow knative-prow bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 18, 2024
@knative-prow knative-prow bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 18, 2024
@skonto
Copy link
Contributor

skonto commented Oct 30, 2024

Hi @covert8 thank you for the contribution!
Should we make this configurable as in Contour projectcontour/contour#4385.
For example be able to configure the address and the port instead of using a boolean?

@skonto
Copy link
Contributor

skonto commented Oct 30, 2024

/ok-to-test

@knative-prow knative-prow bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Oct 30, 2024
if ipv6 {
address = "::"
} else {
address = "0.0.0.0"
Copy link
Contributor

@skonto skonto Oct 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should expose the default value in the cm. We could have one for both http or https or be more flexible and have a different one if it makes sense. @ReToCode wdyth?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah makes sense, maybe not everybody wants to open it on all IPs. But we'd need two for IPv4 and IPv6 I think, as they could be different.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review. If I'm understanding it correctly, you'd like http/ipv4 https/ipv4 http/ipv6 https/ipv6 addresses to be supplied by the configmap?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that is right.

@covert8 covert8 changed the title Add IPv6 listener config option WIP: Add IPv6 listener config option Nov 7, 2024
@knative-prow knative-prow bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 7, 2024
Copy link

knative-prow bot commented Nov 7, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: covert8
Once this PR has been reviewed and has the lgtm label, please assign skonto for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

knative-prow bot commented Nov 7, 2024

@covert8: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
unit-tests_net-kourier_main cbc61b0 link true /test unit-tests
build-tests_net-kourier_main cbc61b0 link true /test build-tests
integration-tests_net-kourier_main cbc61b0 link true /test integration-tests

Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/bug Categorizes issue or PR as related to a bug. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for IPV6 listeners
3 participants