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

Samples Operator should only watch required ClusterOperators

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.19.0
    • 4.19
    • Samples Operator
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • Approved
    • None
    • Done
    • Bug Fix
    • Hide
      * Previously, the Samples Operator established a watch for all Operators that exist on a cluster, which caused the sync loop of the Samples Operator to run when any Operator changed. With this release, the Samples Operator watches only the Operators that it needs to monitor. (link:https://issues.redhat.com/browse/OCPBUGS-54589[OCPBUGS-54589])
      Show
      * Previously, the Samples Operator established a watch for all Operators that exist on a cluster, which caused the sync loop of the Samples Operator to run when any Operator changed. With this release, the Samples Operator watches only the Operators that it needs to monitor. (link: https://issues.redhat.com/browse/OCPBUGS-54589 [ OCPBUGS-54589 ])
    • None
    • None
    • None
    • None

      The samples operator establishes a watch on ALL ClusterOperators in the cluster, any change to any of them will cause it's syncloop to run.

      This code should be modified to only watch specific operators.

      https://github.com/openshift/cluster-samples-operator/blob/6296f3484e6c1284bf9e38297cba31f834686cdc/pkg/operator/controller.go#L155

              aroyo@redhat.com Antonio Carlos Royo
              rhn-support-spoole Shannon Poole
              None
              None
              Shannon Poole Shannon Poole
              None
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: