Question about some resources that i’ve generated ...
# general
s
Question about some resources that i’ve generated using `crd2Pulumi`: In most regular k8s objects, you have something like
Copy code
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
on the resource instance. However, on my generated resources, it’s instead
pulumi.Output<k8s.types.input.meta.v1.ObjectMeta>
which leads to weird type juggling. everything works, but i’m not able to do something like
resource.meta.name
as an input to another resource. For reference, the CRDs i’m working with are the
<http://snapshot.storage.k8s.io/v1|snapshot.storage.k8s.io/v1>
which are annoying not part of the standard k8s api although they are standardized (not pulumi’s fault).
seems related