Closed arianaw66 closed 5 months ago
Adds option to disable kubebuilder markers and validations to omit them from the generated OpenAPI schema.
Changes can be seen in-action here
This is needed for https://github.com/solo-io/gloo-mesh-enterprise/issues/17005
When disableKubeMarkers is set to true, Type=object annotations will be respected such that recursive fields will still work. Required annotations will also be respected.
Type=object
Required
This is essentially a cherry-pick of https://github.com/solo-io/skv2/pull/567.
Issues linked to changelog: https://github.com/solo-io/gloo-mesh-enterprise/issues/17005
Description
Adds option to disable kubebuilder markers and validations to omit them from the generated OpenAPI schema.
Changes can be seen in-action here
Context
This is needed for https://github.com/solo-io/gloo-mesh-enterprise/issues/17005
When disableKubeMarkers is set to true,
Type=object
annotations will be respected such that recursive fields will still work.Required
annotations will also be respected.This is essentially a cherry-pick of https://github.com/solo-io/skv2/pull/567.