2 ms·
Jsonnet is the language that maps to YAML 1:1. The output happens to look like JSON, but JSON is a subset of YAML. I've used Jsonnet for non-k8s stuff (envoy
by jrockway 4y ago
Jsonnet is the language that maps to YAML 1:1. The output happens to look like JSON, but JSON is a subset of YAML.
I've used Jsonnet for non-k8s stuff (envoy bootstrap configs), and it is really great. For example, this: https://github.com/pachyderm/pachyderm/blob/master/etc/generate-envoy-config/envoy.jsonnet https://github.com/pachyderm/pachyderm/blob/master/etc/gener... generates this: https://github.com/pachyderm/pachyderm/blob/master/etc/helm/pachyderm/envoy.json https://github.com/pachyderm/pachyderm/blob/master/etc/helm/...