Bug 1964483

Summary: openshift-virtualization is still shipping CRDs defined as apiextensions.k8s.io/v1beta1 in its bundle
Product: Container Native Virtualization (CNV) Reporter: Simone Tiraboschi <stirabos>
Component: InstallationAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED ERRATA QA Contact: Satyajit Bulage <sbulage>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.8.0CC: cnv-qe-bugs, irose, ocohen, sbulage, stirabos
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hco-bundle-registry-container-v4.8.0-360 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 14:32:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Simone Tiraboschi 2021-05-25 15:19:31 UTC
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:

Comment 1 Inbar Rose 2021-05-31 08:13:59 UTC
we expect to see this version: 
apiVersion: apiextensions.k8s.io/v1

Comment 7 Satyajit Bulage 2021-06-11 12:18:59 UTC
Verifying BZ.

Comment 10 errata-xmlrpc 2021-07-27 14:32:06 UTC
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