Skip to content

Commit

Permalink
Mark CentOS 6 template as deprecated (#410)
Browse files Browse the repository at this point in the history
CentOS 6 is EOL and therefore marked as deprecated.

The deprecated templates notice, which was removed in 4e48e4e, is
restored.

Signed-off-by: Felix Matouschek <[email protected]>
  • Loading branch information
0xFelix authored Mar 9, 2022
1 parent 8ed8f76 commit f3b4cf3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/LABELS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions templates/centos6.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f3b4cf3

Please sign in to comment.