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

CRD-Generator v2: CLI Application #5958

Open
baloo42 opened this issue Apr 26, 2024 · 1 comment
Open

CRD-Generator v2: CLI Application #5958

baloo42 opened this issue Apr 26, 2024 · 1 comment
Labels
component/crd-generator Related to the CRD generator

Comments

@baloo42
Copy link
Contributor

baloo42 commented Apr 26, 2024

Is your enhancement related to a problem? Please describe

Because the CRD-Generator annotation processor is now deprecated, we need a replacement.
(see #5942)

Describe the solution you'd like

A CRD-Generator CLI application could search for a top level annotation (or interface) and generate the CRDs using the CRD-Generator v2 api.

Describe alternatives you've considered

No response

Additional context

  • Jandex could be used to find and index the relevant annotations/classes.
  • The following options should be supported:
    • Enable / disable parallel generation
    • CRD versions (v1, v1beta1)
      (v1beta1 won't be support)
    • outputPath
    • header in output files
    • Allow to add additional labels
    • Allow to add additional annotations
    • Enable debug output
  • The code to scan should be shared between the corresponding maven, gradle and jbang module.

See also:

@manusa manusa added the component/crd-generator Related to the CRD generator label Apr 29, 2024
@baloo42
Copy link
Contributor Author

baloo42 commented May 3, 2024

Protoype: baloo42#9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/crd-generator Related to the CRD generator
Projects
None yet
Development

No branches or pull requests

2 participants