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

Increasing max length of ForwardTo from 4 to 16 #493

Merged
merged 1 commit into from
Dec 9, 2020

Conversation

robscott
Copy link
Member

@robscott robscott commented Dec 4, 2020

What type of PR is this?
/kind feature

What this PR does / why we need it:
As identified in #481, the initial validation on the length of ForwardTo was too restrictive. Knative has some compelling use cases for 10+ ForwardTo statements. Further discussion showed that 16 would be a reasonable upper limit for them. I've also taken some time to ensure that this would also be possible for common proxies such as nginx, haproxy, and envoy. The primary reason for an upper limit here is to ensure we have no unbounded lists in our API. Increasing this limit does not appear to be an issue for any implementations I'm aware of. If it is, please let me know.

Which issue(s) this PR fixes:
Fixes #481

Does this PR introduce a user-facing change?:

ForwardTo max length has been increased from 4 to 16.

/cc @danehans @hbagdi

@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Dec 4, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hbagdi, robscott

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

The pull request process is described 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

@danehans
Copy link
Contributor

danehans commented Dec 9, 2020

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 9, 2020
@k8s-ci-robot k8s-ci-robot merged commit 99150ae into kubernetes-sigs:master Dec 9, 2020
@robscott robscott deleted the more-forward-to branch January 8, 2022 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The maximum limitation for HTTPRouteForwardTo is too small
4 participants