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

Expired certificate remediation by HyperShift operator should be done via CPO image label check

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.19.0
    • HyperShift
    • Important
    • None
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

         Currently we check for the version number to determine whether we should do automatic restarts for certificate expiration.
      https://github.com/openshift/hypershift/blob/6991b4a6bb8ead41e1e5a0843975b7761142514f/hypershift-operator/controllers/hostedcluster/hostedcluster_controller.go#L1978
      This should instead use a CPO image label check that is present whenever we move to use CPO v2 

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

          4.19

      How reproducible:

          Always

      Steps to Reproduce:

          1. Create a HostedCluster test cluster with 4.19 nightly and annotations to shorten certificate expiration.
          2. Wait for clusters to expire.
          3.
          

      Actual results:

          No remediation occurs when certs expire

      Expected results:

          Remediation occurs and cluster continues to function properly

      Additional info:

          

              cewong@redhat.com Cesar Wong
              cewong@redhat.com Cesar Wong
              Jie Zhao Jie Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: