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: Gradle Plugin #5945

Open
baloo42 opened this issue Apr 24, 2024 · 4 comments
Open

CRDGenerator v2: Gradle Plugin #5945

baloo42 opened this issue Apr 24, 2024 · 4 comments
Labels
component/crd-generator Related to the CRD generator

Comments

@baloo42
Copy link
Contributor

baloo42 commented Apr 24, 2024

Description

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

A CRD-Generator Gradle plugin could search for a top-level annotation (or interface) and generate the CRDs using the CRD-Generator v2 API.

Additional context

  • Jandex could be used to find and index the relevant annotations/classes.

  • The following options should be supported:

    • Enable / disable parallel generation (enabled by default)
    • CRD versions (v1)
    • outputPath
    • header in output files
    • Enable debug output
  • The also planned new Gradle plugin should have feature parity with the CRD-Generator maven plugin (CRDGenerator v2: Maven Plugin #5944) should support the same options.

  • The docs need updating, especially the Quickstart section which should focus strictly on the Gradle and Maven Plugins (refactor(crd-generator): deprecation of CRD Generator v1 #6674 (comment))

@manusa manusa added the component/crd-generator Related to the CRD generator label Apr 24, 2024
@shawkins
Copy link
Contributor

shawkins commented Apr 25, 2024

As suggested by @manusa we can just start with a clone of https://github.com/fabric8io/kubernetes-client/tree/main/java-generator/gradle-plugin

@manusa manusa changed the title CRD-Generator: Gradle Plugin CRD-Generator v2: Gradle Plugin Apr 25, 2024
Copy link

stale bot commented Jul 26, 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 Jul 26, 2024
@stale stale bot closed this as completed Aug 3, 2024
@manusa manusa reopened this Aug 5, 2024
@stale stale bot removed the status/stale label Aug 5, 2024
Copy link

stale bot commented Nov 16, 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 Nov 16, 2024
@manusa manusa changed the title CRD-Generator v2: Gradle Plugin CRDGenerator v2: Gradle Plugin Nov 25, 2024
@manusa
Copy link
Member

manusa commented Nov 29, 2024

As a final task, the CRD-Generator need to be updated.
#6674 (comment)

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

3 participants