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 marker to skip/ignore specific fields on CRD generation #1062

Open
luisdavim opened this issue Sep 18, 2024 · 0 comments
Open

Add marker to skip/ignore specific fields on CRD generation #1062

luisdavim opened this issue Sep 18, 2024 · 0 comments

Comments

@luisdavim
Copy link

luisdavim commented Sep 18, 2024

Similar request to #521 and https://groups.google.com/g/kubebuilder/c/N2A8FYNuWLA (both ended up unanswered 😞 )

In some cases we might re-use structs for CRDs and some other configuration and want to prevent certain fields form being added to the CRDs, something like a // +skip or // +ignore would be nice.

@luisdavim luisdavim changed the title Add marker to skip/ignore specific fields Add marker to skip/ignore specific fields on CRD generation Sep 18, 2024
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

No branches or pull requests

1 participant