[stable/nginx-ingress] replace ambiguous controller.headers option#16217
[stable/nginx-ingress] replace ambiguous controller.headers option#16217k8s-ci-robot merged 3 commits intohelm:masterfrom jwalker343:master
Conversation
…and add configuration for add-headers. Signed-off-by: Johnny Walker <johnny.walker@spinen.com>
|
Hi @jwalker343. Thanks for your PR. I'm waiting for a helm 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. DetailsInstructions 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. |
|
/assign @taharah |
…oxySetHeaders Signed-off-by: Johnny Walker <johnny.walker@spinen.com>
|
@taharah I've updated the PR so that I did leave |
ChiefAlexander
left a comment
There was a problem hiding this comment.
Looking good. Can I also get you to create a test to use your new values.
|
/ok-to-test |
…tice Signed-off-by: Johnny Walker <johnny.walker@spinen.com>
|
@ChiefAlexander Updated with bump to the version, notice in |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ChiefAlexander, jwalker343 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…elm#16217) * [stable/nginx-ingress] deprecate ambiguous controller.headers option and add configuration for add-headers. Signed-off-by: Johnny Walker <johnny.walker@spinen.com> * [stable/nginx-ingress] flex controller.headers with new controller.proxySetHeaders Signed-off-by: Johnny Walker <johnny.walker@spinen.com> * [stable/nginx-ingress] Include tests, proper version and notes.txt notice Signed-off-by: Johnny Walker <johnny.walker@spinen.com>
…elm#16217) * [stable/nginx-ingress] deprecate ambiguous controller.headers option and add configuration for add-headers. Signed-off-by: Johnny Walker <johnny.walker@spinen.com> * [stable/nginx-ingress] flex controller.headers with new controller.proxySetHeaders Signed-off-by: Johnny Walker <johnny.walker@spinen.com> * [stable/nginx-ingress] Include tests, proper version and notes.txt notice Signed-off-by: Johnny Walker <johnny.walker@spinen.com> Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>
…elm#16217) * [stable/nginx-ingress] deprecate ambiguous controller.headers option and add configuration for add-headers. Signed-off-by: Johnny Walker <johnny.walker@spinen.com> * [stable/nginx-ingress] flex controller.headers with new controller.proxySetHeaders Signed-off-by: Johnny Walker <johnny.walker@spinen.com> * [stable/nginx-ingress] Include tests, proper version and notes.txt notice Signed-off-by: Johnny Walker <johnny.walker@spinen.com>
…elm#16217) * [stable/nginx-ingress] deprecate ambiguous controller.headers option and add configuration for add-headers. Signed-off-by: Johnny Walker <johnny.walker@spinen.com> * [stable/nginx-ingress] flex controller.headers with new controller.proxySetHeaders Signed-off-by: Johnny Walker <johnny.walker@spinen.com> * [stable/nginx-ingress] Include tests, proper version and notes.txt notice Signed-off-by: Johnny Walker <johnny.walker@spinen.com>
What this PR does / why we need it:
controller.headers is ambiguous because the headers can be added to the client response, or as the request is passed to the backend. Here are the relevant nginx-ingress configuration options:
This PR replaces the ambiguous config with two commands handling both use cases.
Special notes for your reviewer:
First contribution, all feedback appreciated.
Specifically Looking for feedback on the best way to handle deprecating the option, as-is if someone is using that option it will stop working, hence the major version bump.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
[stable/chart])