Skip to content

Commit

Permalink
dataImportCronTemplates: Remove instancetype.kubevirt.io labels (#2964)
Browse files Browse the repository at this point in the history
This metadata is now provided by the containerdisks project for these
imports and used by CDI to later populate the required labels on the
resulting DV and PVCs:

$ podman image inspect quay.io/containerdisks/centos-stream:8 | jq '.[] | .Config.Env'
[
  "INSTANCETYPE_KUBEVIRT_IO_DEFAULT_INSTANCETYPE=u1.medium",
  "INSTANCETYPE_KUBEVIRT_IO_DEFAULT_PREFERENCE=centos.stream8"
]

Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
  • Loading branch information
lyarwood authored Jun 10, 2024
1 parent 48630d2 commit c70bb07
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions assets/dataImportCronTemplates/dataImportCronTemplates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
annotations:
cdi.kubevirt.io/storage.bind.immediate.requested: "true"
name: centos-stream8-image-cron
labels:
instancetype.kubevirt.io/default-preference: centos.stream8
instancetype.kubevirt.io/default-instancetype: u1.medium
spec:
schedule: "0 */12 * * *"
template:
Expand All @@ -22,9 +19,6 @@
annotations:
cdi.kubevirt.io/storage.bind.immediate.requested: "true"
name: centos-stream9-image-cron
labels:
instancetype.kubevirt.io/default-preference: centos.stream9
instancetype.kubevirt.io/default-instancetype: u1.medium
spec:
schedule: "0 */12 * * *"
template:
Expand All @@ -42,9 +36,6 @@
annotations:
cdi.kubevirt.io/storage.bind.immediate.requested: "true"
name: fedora-image-cron
labels:
instancetype.kubevirt.io/default-preference: fedora
instancetype.kubevirt.io/default-instancetype: u1.medium
spec:
schedule: "0 */12 * * *"
template:
Expand All @@ -62,9 +53,6 @@
annotations:
cdi.kubevirt.io/storage.bind.immediate.requested: "true"
name: centos-7-image-cron
labels:
instancetype.kubevirt.io/default-preference: centos.7
instancetype.kubevirt.io/default-instancetype: u1.medium
spec:
schedule: "0 */12 * * *"
template:
Expand Down

0 comments on commit c70bb07

Please sign in to comment.