Skip to content

Conversation

@LiorLieberman
Copy link
Member

@LiorLieberman LiorLieberman commented Jul 18, 2023

…on on mulitple same type filters within the same rule

What type of PR is this?

/kind feature

What this PR does / why we need it:
This permits multiple HTTPRouteFilterRequestMirror filters within the same rule + improve documentation on multiple, same type filters.

There is no reason to forbid multiple mirrors and we can also add a conformance test for it

It was also requested in istio/api#2805.

Which issue(s) this PR fixes:

Fixes #2109

Does this PR introduce a user-facing change?:

enable support for multiple HTTPRouteFilterRequestMirror filters in the same HTTP Rule

/assign @robscott
/cc @robscott
/cc @howardjohn

@k8s-ci-robot k8s-ci-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Jul 18, 2023
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jul 18, 2023
@k8s-ci-robot k8s-ci-robot requested a review from howardjohn July 18, 2023 15:07
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 18, 2023
@LiorLieberman
Copy link
Member Author

/retest

Copy link
Member

@robscott robscott left a comment

Choose a reason for hiding this comment

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

Thanks @LiorLieberman! Do you mind creating a follow up issue to add a conformance test + supported feature to cover this use case?

@LiorLieberman
Copy link
Member Author

Thanks for reviewing @robscott.

Done - #2210

@LiorLieberman
Copy link
Member Author

/retest

@LiorLieberman
Copy link
Member Author

Is there an option for PR authors to set merge type squash?

@robscott
Copy link
Member

Is there an option for PR authors to set merge type squash?

I think anyone should be able to do this:

/label tide/merge-method-squash

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Jul 21, 2023
@robscott
Copy link
Member

Thanks @LiorLieberman! This LGTM, but since this is close to the territory of an API change I'd like @shaneutt or @youngnick to approve as well.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 21, 2023
@shaneutt
Copy link
Member

Let's double check with some other community members:

/cc @sunjayBhatia @arkodg @mlavacca @michaelbeaumont @Xunzhuo

@shaneutt shaneutt added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 21, 2023
Copy link
Member

@sunjayBhatia sunjayBhatia left a comment

Choose a reason for hiding this comment

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

👍🏽

@youngnick
Copy link
Contributor

This generally looks good, but I think that we should definitely have a conformance test, with a feature name, for multiple mirror backends (RouteMultipleMirrorBackends maybe?).

Larger issue, I think that we may need to go through for each Extended field and add the feature name at some point, to make the link between conformance tests and field definitions more clear.

@LiorLieberman
Copy link
Member Author

Thanks @youngnick. Will definitely follow up with a conformance test and supported feature for it. There is already an opened issue.

Once this is merged, @howardjohn will approve istio/api#2805 and we will have it implemented in one implementation so we can check the conformance test validity as well.

Since we have a consensus, can we merge it ?

@youngnick
Copy link
Contributor

Thanks Lior, that sounds great. I'm happy for this to go ahead now.

@youngnick
Copy link
Contributor

/lgtm

Copy link
Member

@Xunzhuo Xunzhuo left a comment

Choose a reason for hiding this comment

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

/lgtm, this looks great : )

@shaneutt shaneutt removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 27, 2023
@shaneutt shaneutt added this to the v0.8.0 milestone Jul 27, 2023
Copy link
Member

@shaneutt shaneutt left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LiorLieberman, mlavacca, shaneutt, sunjayBhatia, Xunzhuo

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

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/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

HttpRouteFilters Docs and webhook do not match.

8 participants