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

CVO does not detect change in operator deployment spec for hostUsers

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • Done
    • Bug Fix
    • Hide
      Before this update, Operator deployment templates with `hostUsers: false` were not processed by the Cluster-Version Operator (CVO), causing their omission in the resulting deployment. As a consequence, user deployments with `hostUsers: false` were missing this field, which caused incomplete deployments. With this release, support for the `hostUsers` flag in resource merge is added, which resolves the missing `hostUsers`issue in deployments. As a result, Operator deployment templates with `hostUsers: false` are correctly picked up by CVO, which ensures complete deployments. (link:https://issues.redhat.com/browse/OCPBUGS-64732[OCPBUGS-64732])
      Show
      Before this update, Operator deployment templates with `hostUsers: false` were not processed by the Cluster-Version Operator (CVO), causing their omission in the resulting deployment. As a consequence, user deployments with `hostUsers: false` were missing this field, which caused incomplete deployments. With this release, support for the `hostUsers` flag in resource merge is added, which resolves the missing `hostUsers`issue in deployments. As a result, Operator deployment templates with `hostUsers: false` are correctly picked up by CVO, which ensures complete deployments. (link: https://issues.redhat.com/browse/OCPBUGS-64732 [ OCPBUGS-64732 ])
    • None
    • None
    • None
    • None

      Description of problem:

          When an operator deployment template contains hostUsers: false, it's not picked up by CVO and the resulting deployment being applied is missing the field altogether.

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

          

      How reproducible:

      Always    

      Steps to Reproduce:

          1. Specify hostUsers: false in an operator deployment.
          2. Check the resulting deployment being applied.

      Actual results:

          The deployment is missing hostUsers: false

      Expected results:

          The deployment should contain hostUsers: false

      Additional info:

          https://github.com/openshift/cluster-openshift-controller-manager-operator/pull/397
          https://redhat-internal.slack.com/archives/CEGKQ43CP/p1762344687129559

              rh-ee-okupka Ondřej Kupka
              rh-ee-okupka Ondřej Kupka
              None
              None
              Jia Liu Jia Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: