> Why are we generating a structured language (YAML), with a computer, by manually adding spaces to make the syntax valid?
Yep, it sucks. It's not like nobody has tried to do better, but nothing else has the adoption of Helm. Ultimately text is, as always, universal.
If you want a fun fact: the communication between kubectl and the kube-api-server is actually in JSON, not YAML.