apple / pkl-pantry

Shared Pkl packages
Apache License 2.0
234 stars 31 forks source link

[K8s Contrib] Is there a way to parse a CRD into a K8sResource? #18

Closed mruoss closed 7 months ago

mruoss commented 7 months ago

Hi

Pkl and its packages around Kubernetes (pkl-k8s and k8s.contrib) are impressive. I could not find a way to turn a CRD into a module extending K8sResource from pkl-k8s. Is there such functionality at the moment?

stackoverflow commented 7 months ago

Pr #17 may be what you are looking for. It's not merged yet, though.

mruoss commented 7 months ago

Oooh yes, that looks rad! Thanks for the heads up!

Avarei commented 7 months ago

I just saw that it is merged now fyi 😊

mruoss commented 7 months ago

Right thanks. I guess this can be closed now. (I cannot)