https://pulumi.com logo
#contribute
Title
# contribute
q

quaint-spring-93350

11/05/2023, 4:46 PM
@echoing-dinner-19531 what's the future of crd2pulumi? Is it going to get hoisted into langhost toolchain along with other *2pulumi tools? Asking because we're interested in wider k8s coverage in pulumi-scala and crds are kinda important for operator integration.
e

echoing-dinner-19531

11/05/2023, 4:49 PM
Going to be looking into that this week! I'm hoping it will turn into a converter plugin like tf2pulumi did.
q

quaint-spring-93350

11/05/2023, 4:51 PM
How is language support solved in tf2pulumi now? Can it work with arbitrary language plugins if they expose correct grpc apis?
e

echoing-dinner-19531

11/05/2023, 4:52 PM
Yup it uses the GenerateProject method on the langauge plugin
q

quaint-spring-93350

11/05/2023, 4:54 PM
So crd2pulumi will use the same call in the future, very cool!
e

echoing-dinner-19531

11/05/2023, 8:04 PM
Probably, will be trying to work out exactly what it needs to do this week. At any rate the plan will be for it to be language agnostic, so other languages can just hook in
l

limited-rainbow-51650

11/06/2023, 7:30 AM
@quaint-spring-93350 for clarity,
tf2pulumi
is deprecated and replaced by
pulumi convert --from terraform
. I'll be working with @echoing-dinner-19531 on trying to create a
pulumi convert --from crd
so we can also deprecate
crd2pulumi
. No more standalone tools, but this code generated integrated in the core Pulumi CLI.
q

quaint-spring-93350

11/06/2023, 8:06 AM
yay, that's great, we're working on supporting
GenerateProject
g

gray-sunset-78851

11/09/2023, 9:03 AM
Hey guys, while we are waiting for
pulumi convert --from crd
to be ready, can someone help merging some PRs in
crd2pulumi
, especially the one that fixes support k8s v4 provider. This will really help us until the
crd2pulumi
is officially deprecated.