Uploaded image for project: 'OpenShift Hive'
  1. OpenShift Hive
  2. HIVE-1763

Hive Operator will stomp annotation set by 3rd party product like OpenShift GitOps in the namespace it's running.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Normal
    • None
    • None
    • False
    • False

    Description

      The Hive Operator appears to stomp any custom annotations set in the namespace the Hive Operator is running. This is causing race conditions, when for example namespaces and their annotation are managed by ArgoCD. Meaning ArgoCD and Hive Operator will race each other to achieve the desired state.

      The part in Hive Operator that appears troublesome seems located in https://github.com/openshift/hive/blob/00f7a93bcc693452b0c1be6a722e758ce63050a4/pkg/operator/hive/hive_controller.go#L397-L408 and it would be helpful if Hive Operator would prevent from reconciling annotation set by 3rd party products or namespace administrator.

      Attachments

        Activity

          People

            efried.openshift Eric Fried
            rhn-support-sreber Simon Reber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: