Schema Changes and Restructuring in HCO (OCP Virt 4.21 vs 4.22)
Issue
The type, format and contents of the HCO have significantly changed from OpenShift Virtualization 4.21 to 4.22. The hco.kubevirt.io is now shipped with v1 instead of v1beta1. Because of the structural and syntax changes, the following failures can happen:
- Custom Resource manifests fail OpenAPI validation errors upon deployment (oc apply or GitOps pipelines).
- Top-level specification fields defined under spec in 4.21 are rejected or ignored in 4.22.
- Legacy key-value feature gate configurations break API validation.
Environment
- Red Hat OpenShift Virtualization 4.21 -> 4.22
- Red Hat OpenShift Virtualization 4.21 (
hco.kubevirt.io/v1beta1) - Red Hat OpenShift Virtualization 4.22 (
hco.kubevirt.io/v1) - HyperConverged Operator (HCO)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.