Uploaded image for project: 'OpenShift Over the Air'
  1. OpenShift Over the Air
  2. OTA-436

Set ownerReference for create-only resources in CVO

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • 5
    • False
    • False
    • Undefined

      OTA-420 and https://github.com/openshift/cluster-version-operator/pull/617 added logic to all resources managed by CVO. However some resources like ClusterOperator are not updated once they are created. So their ownerReferences will be not be updated/set when the newer version of CVO is rolled out.

      To fix this, create only objects should also have their ownerReferences set if they are not already set. The value does not need to be ever updated after it is set because the resource will be garbage collected if the clusterversion is deleted.

            Unassigned Unassigned
            anaik.openshift Arjun Naik (Inactive)
            Jia Liu Jia Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: