diff --git a/templates/LABELS.md b/templates/LABELS.md index 2e30a71e..74c20f63 100644 --- a/templates/LABELS.md +++ b/templates/LABELS.md @@ -3,6 +3,12 @@ This file exemplarily describes the labels we will be using to select the workload a template is supposed to be used for. +## Deprecated templates + +When a template is deprecated, the following annotation is applied to it: `template.kubevirt.io/deprecated: "true"`. + +The template itself is not removed for backward compatibility reasons. + ## Operating systems The operating system labels must match the [libosinfo diff --git a/templates/centos6.tpl.yaml b/templates/centos6.tpl.yaml index 42c81688..24f6f576 100644 --- a/templates/centos6.tpl.yaml +++ b/templates/centos6.tpl.yaml @@ -4,6 +4,7 @@ kind: Template metadata: name: {{ os }}-{{ item.workload }}-{{ item.flavor }} annotations: + template.kubevirt.io/deprecated: "true" openshift.io/display-name: "CentOS 6.0+ VM" description: >- Template for CentOS 6 VM or newer.