How to maintain X-Forwarded-* and Forwarded headers to Pod through routes in Red Hat OpenShift Container Platform 4.x
Issue
- How to maintain
X-Forwarded-*
andForwarded
headers to Pod through routes in Red Hat OpenShift Container Platform 4? - In OpenShift Container Platform 4.5, the
X-Forwarded-For
header is correctly appended. However, the otherX-Forwarded-...
headers are replaced by OpenShift Container Platform 4.5 and earlier.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.