Description of problem: openshift-virtualization is still shipping CRDs defined as apiextensions.k8s.io/v1beta1 in its bundle, apiextensions.k8s.io/v1beta1 are already deprecated and they are going to be removed in OCP 4.9. In order to save the upgrade path to OCP 4.9 they should be addressed before OCP 4.9 so on 4.8.z. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Check all the CRD in openshift-virtualization bundle 2. 3. Actual results: $ grep -R apiextensions.k8s.io/v1beta1 -A 3 manifests/hco01.crd.yaml:apiVersion: apiextensions.k8s.io/v1beta1 manifests/hco01.crd.yaml-kind: CustomResourceDefinition manifests/hco01.crd.yaml-metadata: manifests/hco01.crd.yaml- name: v2vvmwares.v2v.kubevirt.io -- manifests/hco02.crd.yaml:apiVersion: apiextensions.k8s.io/v1beta1 manifests/hco02.crd.yaml-kind: CustomResourceDefinition manifests/hco02.crd.yaml-metadata: manifests/hco02.crd.yaml- name: ovirtproviders.v2v.kubevirt.io -- manifests/node-maintenance00.crd.yaml:apiVersion: apiextensions.k8s.io/v1beta1 manifests/node-maintenance00.crd.yaml-kind: CustomResourceDefinition manifests/node-maintenance00.crd.yaml-metadata: manifests/node-maintenance00.crd.yaml- name: nodemaintenances.nodemaintenance.kubevirt.io Expected results: no apiextensions.k8s.io/v1beta1 CRDs Additional info:
we expect to see this version: apiVersion: apiextensions.k8s.io/v1
Verifying BZ.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.8.0 Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2920