Log forwarding fails when cluster wide proxy url contains user with encoded @ in RHOL

Solution Verified - Updated -

Issue

  • Log forwarding fails when the OpenShift cluster wide proxy url contains user with encoded @:

    apiVersion: config.openshift.io/v1
    kind: Proxy
    metadata:
      name: cluster
    spec:
      httpProxy: http://userpart1%40userpart2:password@proxyurl.com
      httpsProxy: https://userpart1%40userpart2:password@proxyurl.com
    [...]
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4
  • Red Hat OpenShift Logging (RHOL)
    • 5.9.12 and higher
  • Vector configured to forward application logs to a proxy and the OpenShift cluster-wide proxy is configured with a proxy url constains user with encoded @: http://userpart1%40userpart2:password@proxyurl.com

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