You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java Model Generation Failed due to error message "The CustomResourceDefinition "xxx" is invalid: metadata.annotations: Too long: must have at most 262144 bytes" #2619
download the long CRD definitions (more than 262144 characters), eg: the attached CRD from agones fleets.agones.dev.yaml.zip
try to generate the Java models following the approach CRD Generation
You will see this error
Expected behavior
The models can be generated successfully for long CRD definitions
Workaround
We can workaround this issue by remove all the descriptions from the CRD to make it shorter, but we lost all the java docs after the generation.
KubeConfig
If applicable, add a KubeConfig file with secrets redacted.
Server (please complete the following information):
OS: Linux
Environment [e.g. container]
Cloud [e.g. Azure]
Additional context
Add any other context about the problem here.