Bug 2092230 - [RFE] Add indication/mark to deprecated template
Summary: [RFE] Add indication/mark to deprecated template
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: Ugo Palatucci
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-01 07:14 UTC by Guohua Ouyang
Modified: 2023-11-13 08:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-14 19:35:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
deprecated template (204.08 KB, image/png)
2022-06-01 07:14 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 554 0 None Merged Bug 2092230: Template list deprecated badge 2022-06-11 11:48:32 UTC
Github kubevirt-ui kubevirt-plugin pull 582 0 None Merged Bug 2092230: Fix template deprecated annotation 2022-06-11 11:48:29 UTC
Red Hat Issue Tracker CNV-18795 0 None None None 2023-11-13 08:13:02 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:35:32 UTC

Description Guohua Ouyang 2022-06-01 07:14:40 UTC
Created attachment 1885681 [details]
deprecated template

Description of problem:
If a template is labelled with deprecated=true, it should have an indication or mark on these templates in the template list, so user will aware of them easily.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Ugo Palatucci 2022-06-07 08:46:57 UTC
maybe also in the template detail? In the header near the name?

Comment 2 Guohua Ouyang 2022-06-09 03:35:55 UTC
Sorry about the unclear description, the deprecated indication should based on the template's annotation, not the label.

annotations:
  "template.kubevirt.io/deprecated: "true"

Tested on OCP-v4.11.0-47, the deprecated label is not added to template if add "template.kubevirt.io/deprecated: "true" to template annotation

Comment 3 Guohua Ouyang 2022-06-13 07:17:12 UTC
verified on v4.11.0-50

Comment 6 errata-xmlrpc 2022-09-14 19:35:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Virtualization 4.11.0 Images security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:6526


Note You need to log in before you can comment on or make changes to this bug.