kubernetes-client icon indicating copy to clipboard operation
kubernetes-client copied to clipboard

Support KSP for the crd-generator

Open Tanemahuta opened this issue 5 months ago • 2 comments

Is your enhancement related to a problem? Please describe

Background:

  • kotlin is a popular language (rightly so)
  • kapt is the adapter for java annotation processing
    • the is in maintenance mode
    • does not support kotlin 2
  • ksp is the replacement for kapt
    • works different
    • does not support the java annotation processing
    • more efficient

I (and probably not only me) would love to see support for KSP for the crd-generator. I'd be willing to help with the modifications.

Describe the solution you'd like

  • abstract the generator code to be independent from the java annotation processor
  • adapt the code for the java annotation processor to reflect the changes
  • create a new ksp implementation using the abstracted code

Describe alternatives you've considered

No response

Additional context

No response

Tanemahuta avatar Sep 27 '24 05:09 Tanemahuta