Skip to content

Add istio provider#111

Merged
k8s-ci-robot merged 10 commits intokubernetes-sigs:mainfrom
dpasiukevich:istio_provider
Jan 8, 2024
Merged

Add istio provider#111
k8s-ci-robot merged 10 commits intokubernetes-sigs:mainfrom
dpasiukevich:istio_provider

Conversation

@dpasiukevich
Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind feature

What this PR does / why we need it:

Add istio provider which does Istio API (Gateway & VirtualService) -> K8S Gateway API conversion

Which issue(s) this PR fixes:

Fixes #100

Does this PR introduce a user-facing change?:

Add support for Istio API conversion to K8S Gateway API

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. 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. labels Dec 27, 2023
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Dec 27, 2023
@dpasiukevich dpasiukevich marked this pull request as ready for review December 30, 2023 16:09
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 30, 2023
Copy link
Copy Markdown
Member

@LiorLieberman LiorLieberman left a comment

Choose a reason for hiding this comment

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

Thanks for this awesome PR!

I finished first round of reviews.

I think we need @howardjohn for the ins and outs of the logic.

Also - as we are now in 2024 - do you mind have another commit that changes only the new files you added to 2024?

/cc @howardjohn

Comment thread pkg/i2gw/providers/istio/converter.go
Comment thread pkg/i2gw/providers/istio/converter.go Outdated
Comment thread pkg/i2gw/providers/istio/converter.go Outdated
Comment thread pkg/i2gw/providers/istio/converter.go Outdated
Comment thread pkg/i2gw/providers/istio/converter.go Outdated
Comment thread pkg/i2gw/providers/istio/converter.go
Comment thread pkg/i2gw/providers/istio/converter.go Outdated
Comment thread pkg/i2gw/providers/istio/converter.go
Comment thread pkg/i2gw/providers/istio/converter.go Outdated
Comment thread pkg/i2gw/providers/istio/README.md Outdated
Copy link
Copy Markdown

@howardjohn howardjohn left a comment

Choose a reason for hiding this comment

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

Nice work!

Copy link
Copy Markdown
Contributor Author

@dpasiukevich dpasiukevich left a comment

Choose a reason for hiding this comment

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

I'd addresses all the comments, besides the rewrite filter which would be updated later.

If there's a rewrite in istio.HTTPRoute and it has different match types (prefix and full/regex), then I'd aggregate matches and generate 2 k8sgw.HTTPRoutes (one with Prefix and the other with FullPath) rewrite filter

Comment thread pkg/i2gw/providers/istio/converter.go
Comment thread pkg/i2gw/providers/istio/README.md Outdated
Comment thread pkg/i2gw/providers/istio/converter.go Outdated
Comment thread pkg/i2gw/providers/istio/converter.go Outdated
Comment thread pkg/i2gw/providers/istio/converter.go Outdated
Comment thread pkg/i2gw/providers/istio/converter.go Outdated
Comment thread pkg/i2gw/providers/istio/converter.go Outdated
Comment thread pkg/i2gw/providers/istio/converter.go
Comment thread pkg/i2gw/providers/istio/converter.go
Comment thread pkg/i2gw/providers/istio/converter.go Outdated
Comment thread pkg/i2gw/providers/istio/README.md
Comment thread pkg/i2gw/providers/istio/README.md Outdated
Comment thread pkg/i2gw/providers/istio/converter.go
@LiorLieberman
Copy link
Copy Markdown
Member

Awesome work!
Thanks for working on this.

/hold

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 8, 2024
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 8, 2024
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dpasiukevich, howardjohn, LiorLieberman

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

The pull request process is described here

Details 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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 8, 2024
@LiorLieberman
Copy link
Copy Markdown
Member

Holding because I wanted to let you choose whether you think it is more appropriate to merge this commit with all the commit messages. (then add /label tide/merge-method-merge). Otherwise if you want to robot to squash it, just remove the hold

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 8, 2024
@dpasiukevich
Copy link
Copy Markdown
Contributor Author

@LiorLieberman thanks! I've kept the commit chain as it's structured finely (only squashed the last commit). Could you re-lgtm?

/unhold

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 8, 2024
@LiorLieberman
Copy link
Copy Markdown
Member

/label tide/merge-method-merge

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-merge Denotes a PR that should use a standard merge by tide when it merges. label Jan 8, 2024
@LiorLieberman
Copy link
Copy Markdown
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 8, 2024
@k8s-ci-robot k8s-ci-robot merged commit 742bb82 into kubernetes-sigs:main Jan 8, 2024
rajashish pushed a commit to rajashish/ingress2gateway1 that referenced this pull request Feb 21, 2026
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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. tide/merge-method-merge Denotes a PR that should use a standard merge by tide when it merges.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Istio provider support

4 participants