|
|
|
|
|
by birchb
2377 days ago
|
|
These days devops workers often have no choice but to write scads of YAML for tools like GoCD, Concourse, K8s etc etc.
To be efficient we turn to tools like Helm. But I recommend everyone write their own TC YAML tool - it does not take long and it's fun. If you don't have time, you can use mine. I wrote two 'macro processor's for YAML. Yamp (in Python, https://github.com/birchb1024/yamp) and GoYamp (GoLang, https://github.com/birchb1024/goyamp). GoYamp is fast. Some of my users have generated thousands of YAML files with them. IMO ytt is not as good because it seems to embed its syntax in comments. You can use tools like m4 and Jinja2 but you'll be counting indentations all day. Yamp and GoYamp are 100% YAML so indentation just works. Start here: https://github.com/birchb1024/goyamp ! |
|