-
Notifications
You must be signed in to change notification settings - Fork 493
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
Add conformance for multiple mirror filters #2359
Conversation
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.
Thats a great PR, thanks @levikobi !
Backend: "infra-backend-v1", | ||
MirroredTo: []http.BackendRef{ | ||
{ | ||
Name: "infra-backend-v2", | ||
Namespace: ns, | ||
}, | ||
{ | ||
Name: "infra-backend-v3", | ||
Namespace: "another-namespace", | ||
}, | ||
}, | ||
Namespace: ns, |
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.
Not a requirement for this PR, but I am curious if changing Backend
to the new BackendRef
struct you created is something we want and how much effort it will take (since it is widely used in a lot of tests).
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.
Well, if there is a demand for it I can address it in a follow-up PR
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.
would be good if you can do a quick check and see if its something we would want and if so, open an issue for it (it can be a good-first-issue imo)
gateway-api/conformance/utils/suite/features.go Lines 126 to 136 in 4f8e572
Also you probably want to add the new supported feature here |
Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>
Thanks for the review @LiorLieberman! |
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.
Thanks @levikobi !
/lgtm
/assign @shaneutt |
Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>
/lgtm |
This LGTM, but would like one of the conformance approvers I listed above to sign off on it as well. |
@sunjayBhatia @mlavacca @arkodg can one of you take a look at this? Would love to get this into v0.8.1 (this week) if possible. |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: arkodg, levikobi 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 |
/cherry-pick release-0.8 |
@robscott: once the present PR merges, I will cherry-pick it on top of release-0.8 in a new PR and assign it to you. In response to this:
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/test-infra repository. |
@robscott: new pull request created: #2387 In response to this:
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/test-infra repository. |
What type of PR is this?
/kind test
/area conformance
What this PR does / why we need it:
Adds a conformance test for multiple mirror filters within the same rule, tested using Contour's implementation.
Which issue(s) this PR fixes:
Fixes #2210
Does this PR introduce a user-facing change?: