-
Notifications
You must be signed in to change notification settings - Fork 492
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
Clarifying Redirect Support levels #723
Clarifying Redirect Support levels #723
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 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 |
/cc @hbagdi |
@@ -657,23 +657,31 @@ type HTTPRequestRedirect struct { | |||
// header in the response. | |||
// When empty, the protocol of the request is used. | |||
// | |||
// Support: Extended |
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.
For GCP we have some cases where we just support same protocol or HTTP->HTTPS, not HTTPS->HTTP. I think that means this field should be extended.
// +optional | ||
Hostname *string `json:"hostname,omitempty"` | ||
// Port is the port to be used in the value of the `Location` | ||
// header in the response. | ||
// When empty, port (if specified) of the request is used. | ||
// | ||
// Support: Extended |
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.
Redirecting to arbitrary ports is not supported as broadly as I'd hoped.
This also documents how overlapping support levels should be interpreted.
d6effa6
to
61c3797
Compare
/lgtm |
What type of PR is this?
/kind cleanup
/kind documentation
What this PR does / why we need it:
This clarifies support levels in the Redirect filter and documents how overlapping support levels should be interpreted.
Does this PR introduce a user-facing change?: