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

CRDGenerator v2: CLI Application #5958

Closed
baloo42 opened this issue Apr 26, 2024 · 2 comments · Fixed by #6337
Closed

CRDGenerator v2: CLI Application #5958

baloo42 opened this issue Apr 26, 2024 · 2 comments · Fixed by #6337
Assignees
Labels
component/crd-generator Related to the CRD generator
Milestone

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 and gradle 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

Copy link

stale bot commented Aug 3, 2024

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

@stale stale bot added the status/stale label Aug 3, 2024
@manusa manusa added this to the 7.0.0 milestone Nov 18, 2024 — with automated-tasks
@manusa manusa changed the title CRD-Generator v2: CLI Application CRDGenerator v2: CLI Application Nov 25, 2024
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

Successfully merging a pull request may close this issue.

2 participants