From c70bb079e536e02b6b985ac170ac0c072aefbc9a Mon Sep 17 00:00:00 2001 From: Lee Yarwood Date: Mon, 10 Jun 2024 14:16:18 +0100 Subject: [PATCH] dataImportCronTemplates: Remove instancetype.kubevirt.io labels (#2964) 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 --- .../dataImportCronTemplates.yaml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/assets/dataImportCronTemplates/dataImportCronTemplates.yaml b/assets/dataImportCronTemplates/dataImportCronTemplates.yaml index 1c8d37ac30..579ede2dab 100644 --- a/assets/dataImportCronTemplates/dataImportCronTemplates.yaml +++ b/assets/dataImportCronTemplates/dataImportCronTemplates.yaml @@ -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: @@ -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: @@ -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: @@ -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: