Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-17373

[2069287] Two annotations for VM Template provider name

XMLWordPrintable

    • CNV Infra 217
    • Moderate
    • No

      Description of problem:
      There are two annotations to look at when checking the VM Template provider name in the yaml:
      "openshift.io/provider-display-name" annotation that usually "tells" you "KubeVirt",
      vs.
      "template.kubevirt.io/provider" that tells you "Red Hat".
      These two sources of truth are confusing.

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

      How reproducible:
      always

      Steps to Reproduce:
      1. Check the upstream vs. downstram VM Template's yaml:
      Check the annotations under template?.metadata?.annotations

      Actual results:
      There are two sources of truth for checking the VM Template provider name, and that's confusing.

      Expected results:
      There are more ways how to solve the problem: to get rid of one of those annotations, or to edit "openshift.io/provider-display-name" in downstream.

      Additional info:
      There is only "openshift.io/provider-display-name" annotation in the upstream VM Templates' yaml, "template.kubevirt.io/provider" is added in downstream.

              ksimon@redhat.com Karel Simon
              hstastna@redhat.com Hilda Stastna (Inactive)
              Roni Kishner Roni Kishner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: