OpenShift Kube APIServer logs error: has invalid property: anyOf for CRDs

Solution Verified - Updated -

Issue

  • Kube-apiserver logs will contain many errors with the "has invalid property: anyOf" string
E1224 02:37:41.167514       1 customresource_handler.go:655] error building openapi models for clusterresourcequotas.quota.openshift.io: ERROR $root.definitions.io.openshift.quota.v1.ClusterResourceQuota.properties.spec.properties.quota.properties.hard.additionalProperties.schema has invalid property: anyOf
...
E1224 02:37:42.176798       1 customresource_handler.go:655] error building openapi models for clusterserviceversions.operators.coreos.com: ERROR $root.definitions.com.coreos.operators.v1alpha1.ClusterServiceVersion.properties.spec.properties.install.properties.spec.properties.deployments.items.<array>.properties.spec.properties.strategy.properties.rollingUpdate.properties.maxSurge has invalid property: anyOf

Environment

OpenShift Container Platfrom:

  • 4.3
  • 4.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content