Follow-up from "Automate bump version k8s Workloads"
With the way it's currently done, a slight change in indentation or the section ordering may break this. Can we use a YAML lib to:
- Unmarshal YAML file to struct
- Modify the wanted
<env>.values.registry_versionfield in place- Marshal struct back to YAML
- Write file
We're already using
gopkg.in/yaml.v2in the codebase, so we can rely on that.