Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to disable kubebuilder markers #567

Merged
merged 4 commits into from
Jun 3, 2024
Merged

Conversation

arianaw66
Copy link
Contributor

Description

Adds option to disable kubebuilder markers and validations to omit them from the generated OpenAPI schema

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.

@solo-changelog-bot
Copy link

Copy link
Contributor

@shashankram shashankram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Please test it with GME repo before merging

@arianaw66
Copy link
Contributor Author

arianaw66 commented Jun 3, 2024

Yup, the GME repo changes are looking good! Feel free to look at the changes here.

Copy link
Contributor

@marcogschmidt marcogschmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arianaw66 arianaw66 merged commit 0442ff2 into main Jun 3, 2024
3 checks passed
@arianaw66 arianaw66 deleted the disable-kube-markers branch June 3, 2024 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants