Description of problem: There's a new field on the ingresscontroller API, `scope`: https://github.com/openshift/cluster-ingress-operator/blob/release-4.2/manifests/00-custom-resource-definition.yaml#L450 The field is specified as required. This is an additive change to the v1 API, so the field _must_ be optional. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I got it backwards: loadBalancer the struct is a new field that contains scope, and loadBalancer is optional (correct). loadBalancer.scope _should_ be required. The openshift/api Go type is actually incorrect in that it marks scope optional. This needs fixed. Due to a coincidence, the ingress operator actually ignores the +optional tag and so the CRD in 4.2 is already correct and doesn't need fixed. The generator is fixed in 4.3 and there's no reason to backport the changes yet.
verified with 4.3.0-0.ci-2019-10-09-222432
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, 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/RHBA-2020:0062