kbgen is a Go struct generator for Kubebuilder from KCL schemas #1862
eminaktas
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’ve created a generator that converts KCL schemas to Go structs with Kubebuilder annotations, making them ready to be used in Kubernetes operator projects. It even includes a workaround for a known issue—it’s not perfect, but it gets the job done!
You can check it out here: https://github.com/eminaktas/kbgen
Every detail on how to install and test it is in the README. I also plan to share an example soon on how you can enable KCL with a k8s operator smoothly.
Please try it out and drop your feedback!
Beta Was this translation helpful? Give feedback.
All reactions