https://pulumi.com logo
#typescript
Title
# typescript
g

gray-manchester-37402

06/18/2019, 5:57 PM
Hi everyone. Is it possible to use a custom resource like Istio Gateway or any other custom kubernetes resources as YAML (or JSON-ified YAML)? I know it's a method available that can load from file, but then I end up with both a set of javascript/typescript files and a bunch of YAML files.
w

white-balloon-205

06/18/2019, 6:04 PM
You can create instances of custom resources using https://pulumi.io/reference/pkg/nodejs/pulumi/kubernetes/apiextensions/#CustomResource. Is that what you are looking for?
g

gray-manchester-37402

06/20/2019, 6:51 AM
Oh. Will try. Thanks.