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

'ownerReferences' section is added to the openshift-keda namespace when KedaController is deployed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 4.12.z, 4.11.z, 4.10.z
    • Pod Autoscaler
    • ?
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      Cause:
      A bug in Custom Metrics Autoscaler Operator caused it to attempt to take ownership of all managed objects, even cluster-scoped objects and objects in other namespaces.
      Consequence:
      The openshift-keda namespace is modified by the Custom Metrics Autoscaler Operator, adding an ownerReferences. While this update should have no actual consequences in functionality, it may cause confusion for cluster administrators.
      Fix:
      The Custom Metrics Autoscaler Operator skips adding the ownerReference field on any cluster-scoped object or object in another namespace.
      Result:
      The openshift-keda namespace will no longer have a superfluous ownerReference field added.
      Show
      Cause: A bug in Custom Metrics Autoscaler Operator caused it to attempt to take ownership of all managed objects, even cluster-scoped objects and objects in other namespaces. Consequence: The openshift-keda namespace is modified by the Custom Metrics Autoscaler Operator, adding an ownerReferences. While this update should have no actual consequences in functionality, it may cause confusion for cluster administrators. Fix: The Custom Metrics Autoscaler Operator skips adding the ownerReference field on any cluster-scoped object or object in another namespace. Result: The openshift-keda namespace will no longer have a superfluous ownerReference field added.
    • Bug Fix
    • Proposed

      Description of problem:

      When KedaController is deployed, ownerReferences section is added to the namespace, which is not needed.

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

      v2.10.1

      Steps to Reproduce:

      1. Create namespace
      2. Install KedaController 

      Actual results:

      ownerReferences section is added

      Expected results:

      ownerReferences section is not added

            joelsmith.redhat Joel Smith
            rhn-support-rauferna Raul Fernandez
            Weinan Liu Weinan Liu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: