Created attachment 1814397 [details] 4.8-Operand-Creation-Form Description of problem: from OCP 4.9, CRD apiVersion has been updated to apiextensions.k8s.io/v1 and schema has changed, Version-Release number of selected component (if applicable): 4.9.0-0.nightly-2021-08-14-065522 How reproducible: Always Steps to Reproduce: 1. Create mock operator CRD(new apiVersion) and CSV $ oc project default $ oc create -f https://gist.githubusercontent.com/TheRealJon/3680c8a573bde88a974588e269230562/raw/7d86f6691e9e2863ba5955e7bdb0aad3ff3791af/crd.yaml $ oc create -f https://gist.githubusercontent.com/TheRealJon/3680c8a573bde88a974588e269230562/raw/7d86f6691e9e2863ba5955e7bdb0aad3ff3791af/csv.yaml 2. Create 'Mock Resource' operand using form view Actual results: 2. some fields are not rendered with correct format, for example following fields with different x-descriptors are not rendered correctly(see screenshot) - path: select description: select - Eu nisi fugiat occaecat laborum. displayName: "Select" x-descriptors: - "urn:alm:descriptor:com.tectonic.ui:select:DEBUG" - "urn:alm:descriptor:com.tectonic.ui:select:INFO" - "urn:alm:descriptor:com.tectonic.ui:select:WARN" - "urn:alm:descriptor:com.tectonic.ui:select:ERROR" - "urn:alm:descriptor:com.tectonic.ui:select:FATAL" - path: k8sResourcePrefix description: "k8sResourcePrefix - Amet magna ea exercitation sint et dolor deserunt quis." displayName: "K8s Resource Prefix" x-descriptors: - "urn:alm:descriptor:io.kubernetes:Project" - path: podCount description: "podCount - Quis laboris ea Lorem deserunt mollit commodo." displayName: "Pod Count" x-descriptors: - "urn:alm:descriptor:com.tectonic.ui:podCount" - path: password description: "password - Et culpa officia eiusmod labore eiusmod occaecat." displayName: "Password" x-descriptors: - "urn:alm:descriptor:com.tectonic.ui:password" Expected results: compared with OCP 4.8, these fields should be rendered with correct format, see screenshot Additional info: For comparison, in OCP 4.8, create mock operator CRD and CSV $ oc apply -f https://raw.githubusercontent.com/openshift/cucushift/master/testdata/customresource/mock-operator-csv-and-crd.yaml?token=ADA2XHKSWRQNME2D3A7QPHLBENDU2 then create 'Mock Resource' operand using form view
Created attachment 1814398 [details] 4.9-Operand-Creation-Form
Create CRD and CSV as described in https://bugzilla.redhat.com/show_bug.cgi?id=1993886#c0, now all fields are rendering with correct format, verified on 4.9.0-0.nightly-2021-08-30-192239
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 Container Platform 4.9.0 bug fix and security update), 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:3759