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

Implement RewriteHost #174

Merged
merged 2 commits into from
Jul 21, 2020

Conversation

julz
Copy link
Contributor

@julz julz commented Jul 10, 2020

Implementation of knative/serving#7748.

Note: it's not really sensible to try probing with a RewriteHost rule since we can't ensure the hash is what we expect, or even present (since it's returned by a different service), so this just skips probing if a RewriteHost rule is used.

Conformance test in serving: knative/serving#8592.

/assign @tcnghia @mattmoor

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jul 10, 2020
@knative-prow-robot knative-prow-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 10, 2020
@knative-prow-robot knative-prow-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 16, 2020
julz added 2 commits July 16, 2020 20:03
The K-Network-Hash header will not match (or may not be present) if
we redirect to an arbitrary host, so skip probing (which is best-effort anyway).
@knative-prow-robot knative-prow-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 16, 2020
@julz
Copy link
Contributor Author

julz commented Jul 16, 2020

let me know if this would be easier to review with the two commits split in to different PRs

@tcnghia
Copy link
Contributor

tcnghia commented Jul 16, 2020

/approve

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 16, 2020
@ZhiminXiang
Copy link

/assign @ZhiminXiang

@tcnghia
Copy link
Contributor

tcnghia commented Jul 17, 2020

/lgtm

/hold in case @ZhiminXiang has some comments

@knative-prow-robot knative-prow-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 17, 2020
@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 17, 2020
@ZhiminXiang
Copy link

/lgtm
/approve
/unhold

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 21, 2020
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: julz, tcnghia, ZhiminXiang

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:
  • OWNERS [ZhiminXiang,tcnghia]

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

@julz
Copy link
Contributor Author

julz commented Jul 21, 2020

/retest

@knative-metrics-robot
Copy link

The following is the coverage report on the affected files.
Say /test pull-knative-sandbox-net-istio-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/reconciler/ingress/ingress.go 80.5% 81.0% 0.5
pkg/reconciler/ingress/lister.go 98.6% 98.8% 0.2
pkg/reconciler/ingress/resources/virtual_service.go 96.0% 91.2% -4.7

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. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants