Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-7454

Allow setting a proxy for connecting to the cluster at login.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.16, 4.18, 4.17
    • oc
    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      1. Proposed title of this feature request
      Allow setting a proxy for connecting to the cluster at login.

      2. What is the nature and description of the request?
      With this change, the given proxy will be used set and used during the cluster config creation (ie first login):

      $ ./oc login -x https://proxy.example.com https://cluster.example.com:6443 --web
      Opening login URL in the default browser: ...
      Login successful.
      
      You have access to 298 projects, the list has been suppressed. You can list all projects with 'oc projects'
      
      Using project "default".
      
      $ head ~/.kube/config
      apiVersion: v1
      clusters:
      - cluster:
          proxy-url: https://proxy.example.com     <---------
          server: https://cluster.example.com:6443
        name: cluster-example-com:6443
      ...
      

      An upstream PR exists already add proxy-url flag to login cmd #1852

      3. Why does the customer need this? (List the business requirements here)
      Setting a proxy globally works but we need to use a specific proxy only for connection to our clusters.

      4. List any affected packages or components.
      oc client

              gausingh@redhat.com Gaurav Singh
              rh-support-fgrosjea Franck Grosjean
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                None
                None