diff --git a/assets/dataImportCronTemplates/dataImportCronTemplates.yaml b/assets/dataImportCronTemplates/dataImportCronTemplates.yaml index 90ac957334..989a94f1bf 100644 --- a/assets/dataImportCronTemplates/dataImportCronTemplates.yaml +++ b/assets/dataImportCronTemplates/dataImportCronTemplates.yaml @@ -1,23 +1,3 @@ -- metadata: - annotations: - cdi.kubevirt.io/storage.bind.immediate.requested: "true" - name: centos-stream8-image-cron - labels: - instancetype.kubevirt.io/default-preference: centos.8.stream - instancetype.kubevirt.io/default-instancetype: u1.medium - spec: - schedule: "0 */12 * * *" - template: - spec: - source: - registry: - url: docker://quay.io/containerdisks/centos-stream:8 - storage: - resources: - requests: - storage: 10Gi - garbageCollect: Outdated - managedDataSource: centos-stream8 - metadata: annotations: cdi.kubevirt.io/storage.bind.immediate.requested: "true" @@ -58,23 +38,3 @@ storage: 5Gi garbageCollect: Outdated managedDataSource: fedora -- metadata: - 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: - spec: - source: - registry: - url: docker://quay.io/containerdisks/centos:7-2009 - storage: - resources: - requests: - storage: 10Gi - garbageCollect: Outdated - managedDataSource: centos7 diff --git a/build/Dockerfile.okd b/build/Dockerfile.okd index b3a3075798..b3f3529e4c 100644 --- a/build/Dockerfile.okd +++ b/build/Dockerfile.okd @@ -7,6 +7,6 @@ COPY hack/testFiles/test_quickstart.yaml quickStart/ COPY hack/testFiles/test_dashboard_cm.yaml dashboard/ COPY assets/ . COPY ci-test-files/dataImportCronTemplatesWithImageStream.yaml dataImportCronTemplates/ -COPY ci-test-files/centos8-imagestream.yaml imageStreams/ +COPY ci-test-files/centos9-stream-imagestream.yaml imageStreams/ ENTRYPOINT /usr/bin/hyperconverged-cluster-operator diff --git a/ci-test-files/centos8-imagestream.yaml b/ci-test-files/centos9-stream-imagestream.yaml similarity index 80% rename from ci-test-files/centos8-imagestream.yaml rename to ci-test-files/centos9-stream-imagestream.yaml index f3f1034f1a..00df4af89d 100644 --- a/ci-test-files/centos8-imagestream.yaml +++ b/ci-test-files/centos9-stream-imagestream.yaml @@ -1,7 +1,7 @@ apiVersion: image.openshift.io/v1 kind: ImageStream metadata: - name: centos8 + name: centos-stream9 namespace: kubevirt-os-images spec: lookupPolicy: @@ -10,7 +10,7 @@ spec: - annotations: null from: kind: DockerImage - name: quay.io/kubevirt/centos8-container-disk-images + name: quay.io/containerdisks/centos-stream:9 importPolicy: scheduled: true importMode: Legacy diff --git a/ci-test-files/dataImportCronTemplatesWithImageStream.yaml b/ci-test-files/dataImportCronTemplatesWithImageStream.yaml index 132724d5a5..49547351f0 100644 --- a/ci-test-files/dataImportCronTemplatesWithImageStream.yaml +++ b/ci-test-files/dataImportCronTemplatesWithImageStream.yaml @@ -1,16 +1,16 @@ - metadata: - name: centos8-image-cron-is + name: centos-stream9-image-cron-is spec: schedule: "0 */12 * * *" template: spec: source: registry: - imageStream: "centos8" + imageStream: "centos-stream9" pullMethod: node storage: resources: requests: storage: 10Gi garbageCollect: Outdated - managedDataSource: centos8-is + managedDataSource: centos-stream9-is diff --git a/tests/func-tests/golden_image_test.go b/tests/func-tests/golden_image_test.go index ea4b166413..de171f138c 100644 --- a/tests/func-tests/golden_image_test.go +++ b/tests/func-tests/golden_image_test.go @@ -53,13 +53,13 @@ var ( Resource: "ssps", } - expectedImages = []string{"centos-7-image-cron", "centos-stream8-image-cron", "centos-stream9-image-cron", "centos8-image-cron-is", "fedora-image-cron"} + expectedImages = []string{"centos-stream9-image-cron", "centos-stream9-image-cron-is", "fedora-image-cron"} imageNamespace = defaultImageNamespace expectedImageStreams = []tests.ImageStreamConfig{ { - Name: "centos8", - RegistryName: "quay.io/kubevirt/centos8-container-disk-images", - UsageImages: []string{"centos8-image-cron-is"}, + Name: "centos-stream9", + RegistryName: "quay.io/containerdisks/centos-stream:9", + UsageImages: []string{"centos-stream9-image-cron-is"}, }, } )