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

Validate OCP API Server info only if reconciling KPI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 4.18.0
    • 4.18, 4.19, 4.20
    • HyperShift
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Critical
    • Yes
    • Proposed
    • None
    • Done
    • 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

      This is a clone of issue OCPBUGS-56562. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-56457. The following is the description of the original issue:

      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
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Ke Wang Ke Wang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: