Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-55981

RHOCP web terminal operator shows proxy credentials.

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      • When proxy is set in cluster, the web terminal operator shows proxy credentials in web terminal.

       

      bash-4.4 ~ $ oc version Client Version: 4.14.0-202410181711.p0.g44b3ac2.assembly.stream-44b3ac2 Kustomize Version: v5.0.1 Server Version: 4.14.49 Kubernetes Version: v1.27.16+03a907c bash-4.4 ~ $ bash-4.4 ~ $ bash-4.4 ~ $ wtoctl get image Current image is registry.redhat.io/web-terminal/web-terminal-tooling-rhel8@sha256:a4696622f794ec3e693130e0821abcc21ea1da3422f69fade2e8fc4f1b3cea36 bash-4.4 ~ $ bash-4.4 ~ $ bash-4.4 ~ $ oc get csv | grep web-terminal web-terminal.v1.9.0-0.1732652688.p Web Terminal 1.9.0+0.1732652688.p web-terminal.v1.9.0-0.1731480944.p Succeeded bash-4.4 ~ $ bash-4.4 ~ $ bash-4.4 ~ $ oc describe proxy | grep Status -A2 Status: Https Proxy: https://<REMOVED>@squid-opc.eu.abc.com:443 No Proxy: .cluster.local,.abc.com,.abc.nl,.abc.com,.svc,10.0.0.0/16,10.232.0.0/16,10.251.0.0/16,10.30.0.0/16,10.7.0.0/16,127.0.0.1,172.16.0.0/16,api-int.opc-bt.mwinfra.abc.com,localhost bash-4.4 ~ $ bash-4.4 ~ $ bash-4.4 ~ $ oc set env deployment/workspace0d9da18997b1460b --list # deployments/workspace0d9da18997b1460b, container web-terminal-tooling DEVWORKSPACE_COMPONENT_NAME=web-terminal-tooling DEVWORKSPACE_NAMESPACE=apim-prod DEVWORKSPACE_NAME=terminal-b1ez3g DEVWORKSPACE_ID=workspace0d9da18997b1460b DEVWORKSPACE_CREATOR=3d72045a-1cd2-411a-9011-909d4157c723 DEVWORKSPACE_IDLE_TIMEOUT=15m https_proxy=https://<REMOVED>@squid-opc.eu.abc.com:443 HTTPS_PROXY=https://<REMOVED>@squid-opc.eu.abc.com:443 abc.nl,.abc.com,.svc,10.0.0.0/16,10.232.0.0/16,10.251.0.0/16,10.30.0.0/16,10.7.0.0/16,127.0.0.1,172.16.0.0/16,api-int.opc-bt.mwinfra.abc.com,localhost,10.30.0.1 NO_PROXY=.cluster.local,.abc.com,.abc.nl,.abc.com,.svc,10.0.0.0/16,10.232.0.0/16,10.251.0.0/16,10.30.0.0/16,10.7.0.0/16,127.0.0.1,172.16.0.0/16,api-int.opc-bt.mwinfra.abc.com,localhost,10.30.0.1 

       

      -Steps to reproduce

      • Install web terminal operator in cluster
      • Setup cluster wide proxy 
      • When environment variables are set on deployment, proxy creds are shown in web terminal.

              jhadvig@redhat.com Jakub Hadvig
              rhn-support-akanekar Ankita Kanekar
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: