How to maintain X-Forwarded-* and Forwarded headers to Pod through routes in Red Hat OpenShift Container Platform 4.x

Solution Verified - Updated -

Issue

  • How to maintain X-Forwarded-* and Forwarded 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 other X-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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content