Bug 1916578
| Summary: | HTTPHeaders setting in IngressController resource doesn't work expectedly | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Catherine_H <yhuang> |
| Component: | Documentation | Assignee: | Jason Boxman <jboxman> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | zhaozhanqi <zzhao> |
| Severity: | low | Docs Contact: | Vikram Goyal <vigoyal> |
| Priority: | medium | ||
| Version: | 4.6 | CC: | aiyengar, amcdermo, aos-bugs, jokerman, trees |
| Target Milestone: | --- | ||
| Target Release: | 4.6.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-03-06 03:30:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Catherine_H
2021-01-15 06:30:12 UTC
For modifying the "httpHeader" the recommended way would be setting in the below way:
------
spec:
httpHeaders:
forwardedHeaderPolicy: Append
------
This parameter will take "Replace/ IfNone / Never" options. Kindly try to set the forwarded option in the above way and check whether it helps.
Hi Arvind,
Thanks for your kind reply.
I tested with below way and it's worked! :)
------
spec:
httpHeaders:
forwardedHeaderPolicy: Append
------
Maybe the documentation should be fixed accordingly?
To correct this, I've opened a minor PR[0]. Thanks. [0] https://github.com/openshift/openshift-docs/pull/29429 |