-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Fix custom-headers annotation does not apply the configuration automatically #11709
base: main
Are you sure you want to change the base?
Conversation
Welcome @jgoelen! |
Hi @jgoelen. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
✅ Deploy Preview for kubernetes-ingress-nginx canceled.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jgoelen The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@longwuyuan can it be reviewed by someone? Looks like a small change |
Maybe you can post complete detailed kubectl describe and curl outputs of
before and after for readers. Use the make dev-env and FOCUS test from
here
https://kubernetes.github.io/ingress-nginx/developer-guide/getting-started/#testing
…On Fri, 16 Aug, 2024, 18:56 PavelGloba, ***@***.***> wrote:
@longwuyuan <https://github.com/longwuyuan> can it be reviewed by
someone? Looks like a small change
—
Reply to this email directly, view it on GitHub
<#11709 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGZVWT4NINYZA4V7HV6NE3ZRX4Y7AVCNFSM6AAAAABLYKVJF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJTGUYDSMJRHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
As requested, I've created a local test setup with detailed test scenarios, which you can find in this repository: https://github.com/jgoelen/ingress-nginx-custom-headers-test These should allow you to easily reproduce the tests in your local environment. I hope this facilitates a quicker review of the PR. |
This is stale, but we won't close it automatically, just bare in mind the maintainers may be busy with other tasks and will reach your issue ASAP. If you have any question or request to prioritize this, please reach |
The This bot removes
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /remove-lifecycle frozen |
@jgoelen Why don't you implement an automated e2e tests? There are plenty of examples in the repository. |
Hi @gavinkflam I added the missing e2e tests in #12479. |
/kind bug |
/tide merge-method-squash |
@Gacko I added this to 1.12 as a bug fix, if you think we shouldn't please move it to 1.13 |
What this PR does / why we need it:
It fixes an open issue #11680.
The problem extends to the response headers not reflecting updates made to the ConfigMap's contents. This limitation stems from the fact that the Ingress object remains unmodified, making it impossible to address through code changes alone. However, a straightforward solution exists: adding a checksum annotation on the Ingress that includes a hash of the ConfigMap's content. This approach would effectively trigger the necessary updates.
Types of changes
Which issue/s this PR fixes
Fixes #11680
How Has This Been Tested?
Add extra config to test manifests used by
types_equals_test.go
.Manual testing.
Checklist: