https://pulumi.com logo
#kubernetes
Title
# kubernetes
l

limited-rainbow-51650

06/11/2020, 2:28 PM
Pulumi can render YAML from code (https://www.pulumi.com/blog/kubernetes-yaml-generation/) but can it also do the reverse? I give it YAML and it gives me some Typescript on which I can continue working?
g

gorgeous-egg-16927

06/11/2020, 2:37 PM
Not yet, but it’s a matter of time. We’re in the process of building prerequisite tooling.
l

limited-rainbow-51650

06/11/2020, 2:40 PM
Too bad. I’m fighting a Helm chart at the moment for a POC project.
g

gorgeous-egg-16927

06/11/2020, 4:41 PM
l

limited-rainbow-51650

06/11/2020, 4:47 PM
Commented.
c

creamy-potato-29402

06/11/2020, 5:51 PM
this vscode extension converts YAML to pulumi typescript.
a

ancient-megabyte-79588

06/12/2020, 3:31 AM
I've been meaning to investigate this npm lib to help with converting yaml ConfigMap examples to TS/JavaScript. https://www.npmjs.com/package/js-yaml
4 Views