This message was deleted.
s
This message was deleted.
p
Is that the only option? I thought it used to be possible to send a raw manifest but can’t seem to find it in the docs anymore
a
p
ah, gReat!
CDR will be nicer, too bad their CRD definition does not define anything for the spec bit https://github.com/openshift/router/blob/master/deploy/route_crd.yaml
a
spec is pretty much an anonymous object that you can pass in any form. There is no compile time validation unfortunately, but I am sure you can define it externally and be good with it
p
yeah, making my own type in the generated code
a
Perhaps the Pulumi team can think of making the CustomResource class generic to make typings easier
b
@acoustic-hamburger-30479 we have crd2pulumi already
❤️ 1
g
FYI, you can also use CustomResource to define the specs