3 ms·
Jsonnet wouldn't be as bad as it is if there was just a modicum of debugging aid. I'm slowly chipping away at that problem by implementing some tooling. For ex
by ithkuil 3y ago
Jsonnet wouldn't be as bad as it is if there was just a modicum of debugging aid.
I'm slowly chipping away at that problem by implementing some tooling. For example I recently added "traceback" functionality in https://github.com/kubecfg/kubecfg https://github.com/kubecfg/kubecfg
Another thing that I noticed is that most people who end up writing template libraries for jsonnet are using too many functions and not leveraging the strengths of jsonnet, namely object extension.
I opensourced a library I'm using internally at $work. It's far from perfect and sorely lacking docs and examples but if you want to give jsonnet another go I'd recommend you try kubecfg + https://github.com/kubecfg/k8s-libsonnet https://github.com/kubecfg/k8s-libsonnet