Check out ksonnet, it is closer to what you're looking for. (https://ksonnet.io/)
PLUS, underneath the hood of Ksonnet is a massive amount of jsonnet code that I'm not extremely familiar with, and I like to learn my tools very thoroughly before I begin using them. So it's a big task to get started with it.