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

Missing marker for 'title' key #883

Open
braghettos opened this issue Feb 15, 2024 · 3 comments
Open

Missing marker for 'title' key #883

braghettos opened this issue Feb 15, 2024 · 3 comments

Comments

@braghettos
Copy link

braghettos commented Feb 15, 2024

Hi everyone - I would like to generate a CRD that includes the 'title' key, but I'm unable to find a marker that allows me to generate it - I cannot find it here: https://book.kubebuilder.io/reference/markers/crd - am I missing something?

Thanks for any help!

@braghettos braghettos changed the title Missing market for 'title' key Missing marker for 'title' key Feb 15, 2024
@sbueringer
Copy link
Member

Sounds good. Feel free to open a PR

@JoelSpeed
Copy link
Contributor

Title is a new one to me, can you expand on the use case at all?

What is the effect of the title on the openapi schema? Is this somehow presented to users via kubectl explain or some other mechanism?

@sbueringer
Copy link
Member

sbueringer commented Apr 10, 2024

I don't know what the use case behind it is, but it's a field in jsonschemaprops in CRDs. So I thought it makes sense to be able to set this field via controller-gen as well.

Independent of that, also curious about the use case

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

3 participants