The oc login command is not using the proxy-url parameter in kubeconfig file

Solution Verified - Updated -

Issue

  • The oc login command doesn't support the proxy-url parameter in kubeconfig file.
  • When adding the proxy-url parameter in the kubeconfig file, the parameter is removed after oc login is executed.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • oc login
  • kubeconfig

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