Re:YAML: probably not so great after all (2017)
by pacala on Wednesday June 20, 2018 @10:19PM
(#17361564)
Try https://jsonnet.org/. Supports comments, plus a handful of additional useful features.
[ Parent
| on HN ]
Re:YAML: probably not so great after all (2017)
by nojvek on Wednesday June 20, 2018 @10:48PM
(#17361691)
Jsonnet is awesome. We use it to generate our yaml files for kubernetes. YAML isn’t easy to parse, nor is it very flexible as a templating language. It gets cumbersome very quickly.
Jsonnet is a relief. Kubernetes should have been a dumb json config from the get go. JSON is ridiculously simple to parse and emit. It has huge interoperability as well with lots of programming languages.
Re:YAML: probably not so great after all (2017)
by pests on Thursday June 21, 2018 @03:55AM
(#17363000)
Kubenetes never intended to get stuck on YAML. The CNCF is backing Ksonnet which is Jsonnet for k8s if you haven't seen it before.
Re:YAML: probably not so great after all (2017)
by alessioalex on Thursday June 21, 2018 @08:15AM
(#17364379)
Oh man, you just made my day. Comments, imports and mixins, I just had an 'evrika' moment.
P.S. You Romanian by any chance?