-
Notifications
You must be signed in to change notification settings - Fork 345
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
Use deprecated field of yaml schema specification instead of only modifying description #2817
Comments
Yeah, it would be good to have. We are generating the CRDs with some tooling and I haven't found an immediate way to declare the value is deprecated, ie |
Maybe we're lucky if we bump the gen-tool version: kubernetes-sigs/controller-tools#541 Going to have a look later. |
While CRD structural schemas rely on OpenAPI v3 schemas, there are some limitations. The The |
This issue has been automatically marked as stale due to 90 days of inactivity. |
still an important feature even if upstream doesn't provide an out of the box solution currently |
This issue has been automatically marked as stale due to 90 days of inactivity. |
There is a deprecated field in specification http://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.3
it would be nice to use it instead of mentioning the deprecation only in description field like here
camel-k/helm/camel-k/crds/crd-kamelet.yaml
Line 217 in 48422c0
it will allow various tooling to make it more visible.
The text was updated successfully, but these errors were encountered: