Skip to content

implement header manipulation for nginxingress#283

Merged
k8s-ci-robot merged 16 commits intokubernetes-sigs:mainfrom
eladmotola:feature/nginxingress-implement-header-manipulation
Jan 13, 2026
Merged

implement header manipulation for nginxingress#283
k8s-ci-robot merged 16 commits intokubernetes-sigs:mainfrom
eladmotola:feature/nginxingress-implement-header-manipulation

Conversation

@eladmotola
Copy link
Copy Markdown
Contributor

@eladmotola eladmotola commented Dec 15, 2025

What type of PR is this?
/kind feature

What this PR does / why we need it:
adding support for header manipulation
Which issue(s) this PR fixes:
#271

Fixes #

Does this PR introduce a user-facing change?:


@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Dec 15, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Welcome @eladmotola!

It looks like this is your first PR to kubernetes-sigs/ingress2gateway 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/ingress2gateway has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Dec 15, 2025
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Hi @eladmotola. Thanks for your PR.

I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Dec 15, 2025
@Stevenjin8
Copy link
Copy Markdown
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 17, 2025
Comment thread pkg/i2gw/providers/ingressnginx/headers.go Outdated
Comment thread pkg/i2gw/providers/ingressnginx/headers.go
Comment thread pkg/i2gw/providers/ingressnginx/headers.go Outdated
Comment thread pkg/i2gw/providers/ingressnginx/headers.go
Comment thread pkg/i2gw/providers/ingressnginx/headers.go Outdated
Copy link
Copy Markdown
Contributor

@Stevenjin8 Stevenjin8 left a comment

Choose a reason for hiding this comment

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

some small nits. Thanks!

@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Dec 18, 2025
@Stevenjin8
Copy link
Copy Markdown
Contributor

@eladmotola Thanks! This is in my TODO list

Comment thread pkg/i2gw/providers/ingressnginx/headers.go
Comment thread pkg/i2gw/providers/ingressnginx/headers.go Outdated
eladmotola and others added 2 commits December 29, 2025 11:35
@Stevenjin8
Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 30, 2025
Comment thread pkg/i2gw/providers/ingressnginx/utils.go Outdated
Comment thread pkg/i2gw/providers/ingressnginx/headers_test.go Outdated
Comment thread pkg/i2gw/providers/ingressnginx/utils.go Outdated
Comment thread pkg/i2gw/providers/ingressnginx/headers.go Outdated
Comment thread pkg/i2gw/providers/ingressnginx/annotations.go Outdated
Comment thread pkg/i2gw/providers/ingressnginx/headers.go
@Stevenjin8
Copy link
Copy Markdown
Contributor

@eladmotola I just noticed that the copyright headers have the wrong year. Do you mind applying the suggested changes? After that I'll find some people to /approve.

@Stevenjin8 Stevenjin8 mentioned this pull request Jan 5, 2026
Co-authored-by: Steven Jin <stevenjin8@gmail.com>
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 6, 2026
eladmotola and others added 3 commits January 6, 2026 23:20
Co-authored-by: Steven Jin <stevenjin8@gmail.com>
Co-authored-by: Steven Jin <stevenjin8@gmail.com>
Co-authored-by: Steven Jin <stevenjin8@gmail.com>
@eladmotola
Copy link
Copy Markdown
Contributor Author

@Stevenjin8 Oops my bad
done

@Stevenjin8
Copy link
Copy Markdown
Contributor

/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, 2026
@robscott
Copy link
Copy Markdown
Member

Thanks @eladmotola!

/approve

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: eladmotola, robscott

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 13, 2026
@k8s-ci-robot k8s-ci-robot merged commit 35a9ffd into kubernetes-sigs:main Jan 13, 2026
3 of 4 checks passed
danehans pushed a commit to danehans/ingress2gateway that referenced this pull request Jan 16, 2026
* implement header manipulation for nginxingress

* pr comments

* fmt

* fmt

* fmt

* fmt

* add TODOs

* fix mege from master

* fmt

* Update pkg/i2gw/providers/ingressnginx/headers.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* continue instead of panic

* Update pkg/i2gw/providers/ingressnginx/headers_test.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* Update pkg/i2gw/providers/ingressnginx/annotations.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* Update pkg/i2gw/providers/ingressnginx/headers.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* Update pkg/i2gw/providers/ingressnginx/utils.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

---------

Co-authored-by: Steven Jin <stevenjin8@gmail.com>
danehans pushed a commit to danehans/ingress2gateway that referenced this pull request Jan 16, 2026
* implement header manipulation for nginxingress

* pr comments

* fmt

* fmt

* fmt

* fmt

* add TODOs

* fix mege from master

* fmt

* Update pkg/i2gw/providers/ingressnginx/headers.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* continue instead of panic

* Update pkg/i2gw/providers/ingressnginx/headers_test.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* Update pkg/i2gw/providers/ingressnginx/annotations.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* Update pkg/i2gw/providers/ingressnginx/headers.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* Update pkg/i2gw/providers/ingressnginx/utils.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

---------

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

    Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
danehans pushed a commit to danehans/ingress2gateway that referenced this pull request Jan 16, 2026
* implement header manipulation for nginxingress

* pr comments

* fmt

* fmt

* fmt

* fmt

* add TODOs

* fix mege from master

* fmt

* Update pkg/i2gw/providers/ingressnginx/headers.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* continue instead of panic

* Update pkg/i2gw/providers/ingressnginx/headers_test.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* Update pkg/i2gw/providers/ingressnginx/annotations.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* Update pkg/i2gw/providers/ingressnginx/headers.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* Update pkg/i2gw/providers/ingressnginx/utils.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

---------

Co-authored-by: Steven Jin <stevenjin8@gmail.com>
Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
rajashish pushed a commit to rajashish/ingress2gateway1 that referenced this pull request Feb 21, 2026
* implement header manipulation for nginxingress

* pr comments

* fmt

* fmt

* fmt

* fmt

* add TODOs

* fix mege from master

* fmt

* Update pkg/i2gw/providers/ingressnginx/headers.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* continue instead of panic

* Update pkg/i2gw/providers/ingressnginx/headers_test.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* Update pkg/i2gw/providers/ingressnginx/annotations.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* Update pkg/i2gw/providers/ingressnginx/headers.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

* Update pkg/i2gw/providers/ingressnginx/utils.go

Co-authored-by: Steven Jin <stevenjin8@gmail.com>

---------

Co-authored-by: Steven Jin <stevenjin8@gmail.com>
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. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants