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

Documentation missing out some default added `.status.noProxy` values in cluster-wide proxy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 4.19
    • 4.13, 4.12, 4.14, 4.15, 4.16, 4.17, 4.18
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 5
    • Moderate
    • None
    • None
    • None
    • None
    • OSDOCS Sprint 266, OSDOCS Sprint 267, OSDOCS Sprint 268
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The documentation at [0] is not mentioning that the '.status.noProxy' variable, which is dynamically filled by RHOCP itself when enabling cluster-wide proxy, also adds up the following values:
      - localhost
      - .cluster.local
      - .svc
      - 127.0.0.1
      - <APIServerInternalURL> # can be grasped with command oc get infrastructures.config.openshift.io cluster -o jsonpath='{.status.etcdDiscoveryDomain}'
      
      
      This is not described in the documentation. I really can't find the implementation of this on GitHub. I've followed along the code through [1], and [2], but then I got lost. By testing it in a lab this is the outcome no more no less though.

      Version-Release number of selected component (if applicable):

      Any RHOCP 4 documentation is missing this

      How reproducible:

      Read through the doc and check this is not mentioned anywhere

      Steps to Reproduce:

          1. Check the doc at [0]
          2. State it's missing any mention of the aformentioned dymanically added entries

      Actual results:

      No mention of the expected `.status.noProxy` status

      Expected results:

      NOTE box containing `.status.noProxy` values as real-case scenario is showcasing

      Additional info:

      [0] https://docs.openshift.com/container-platform/4.16/networking/enable-cluster-wide-proxy.html
      
      [1] https://github.com/openshift/cluster-openshift-controller-manager-operator/blob/release-4.16/pkg/operator/sync_openshiftcontrollermanager_v311_00.go#L28
      
      [2] https://github.com/openshift/client-go/blob/release-4.16/config/listers/config/v1/proxy.go

              dfitzmau@redhat.com Darragh Fitzmaurice
              rh-ee-sizucchi Simone Massimo Zucchi
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: