Skip to content

Support for field-level deprecation warnings in CRD generation #4785

Answered by camilamacedo86
gkech asked this question in Support
Discussion options

You must be logged in to vote

Hi @gkech,

I think you’re right.

Annotations like +kubebuilder:deprecatedversion:warning="..." don’t seem to raise any actual warnings — they’re helpful in code, but not reflected in the generated CRD or OpenAPI schema.

I think it would be a good idea to open a GitHub issue on controller-tools to request this feature, since it is the project is responsible for supporting these markers.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gkech
Comment options

Answer selected by gkech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants