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

[2086803] When clonnig a template we need to update vm labels and annotaions to match new template

XMLWordPrintable

    • Moderate
    • No

      Description of problem:

      When cloning a template, the VM has labels and annotations referring to the original template and not the cloned one.
      Also, the cloned template has some annotations referring to the old template.

      VM labels to edit:
      vm.kubevirt.io/template: ${NEW_TEMPLATE_NAME}
      vm.kubevirt.io/template.namespace: ${NEW_TEMPLATE_NAMESPACE}

      VM labels to delete:
      vm.kubevirt.io/template.version

      Template annotations to edit:
      openshift.io/display-name: ${USER_INPUT}

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

      How reproducible:

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

      Expected results:

      Additional info:

              upalatuc@redhat.com Ugo Palatucci
              upalatuc@redhat.com Ugo Palatucci
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: