https://pulumi.com logo
Title
b

billowy-army-68599

05/01/2020, 3:42 PM
@cool-family-11574 sorry for the delay! You can't convert yaml to pulumi per se, but we do have ConfigFile https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/kubernetes/yaml/#ConfigFile This'll create a set of resources from a YAML config (remote or local) and you can also do transformations on it, it's just an object/dict. Here's an example
const crds = new k8s.yaml.ConfigFile("crds", {
    file: "<https://github.com/jetstack/cert-manager/releases/download/v0.14.1/cert-manager.crds.yaml>",
}, { provider: provider })