solo-io / gloo-portal-issues

Public tracker for issues related to Gloo Portal
https://docs.solo.io/gloo-portal/latest/
1 stars 3 forks source link

Generate CRD validation schema for RouteOptions #168

Closed jenshu closed 2 years ago

jenshu commented 2 years ago

This is a follow-up to #49

We currently have to disable openapi schema generation on the RouteOptions field within RouteSpec. This is because this message is imported in several places, sometimes nested several levels deep, and it causes schema generation (via skv2 and cue) to hang indefinitely. We should see if we can speed up schema gen on this field and remove the disable_openapi_validation annotation. The fix will likely need to be done in skv2 and/or cue

jenshu commented 2 years ago

Fix has been merged and will be available in Gloo Portal v1.3.0-beta3 and v1.2.2