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

Validate OCP API Server info only if reconciling KPI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.20.0
    • 4.18, 4.19, 4.20
    • HyperShift
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Critical
    • Yes
    • Rejected
    • None
    • In Progress
    • Bug Fix
    • Without this fix, the HyperShift Operator would validate the Kubernetes API Servers Subject Alternative Names in all cases. With the fix, this is only done if PKI reconciliation is not disabled.
    • None
    • None
    • None
    • None

      Description of problem:

          The validation of the OCP API Server SANs https://github.com/openshift/hypershift/blob/13e0d5f146e2dbe41a9c8881ea3aef15062e9bf7/hypershift-operator/controllers/hostedcluster/validations/ocpapiserver.go#L26c should only be done when Hypershift is managing the PKI reconciliation. 
      
      The validation was introduced in: https://github.com/openshift/hypershift/pull/6091
      
      
      

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

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              rcradick Ryan Cradick
              rcradick Ryan Cradick
              None
              None
              Ke Wang Ke Wang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: