image-automation-controller
image-automation-controller copied to clipboard
Can the image-automation-controller preserve blank lines in yaml files?
When the image-automation-controller updates an image on a yaml file, it seems to have the default behaviour to remove any blank lines in the file.
In most manifests this may be fine, but the image-automation-controller is able to update non-manifest yaml files, e.g. .gitlab-ci.yml, docker-compose.yml, etc. For these files it is fairly common to have blank lines between structured blocks.
Is it currently possible, or would it be possible to have the image-automation-controller preserve these blank lines (and any general structure in the YAML file), so that it effectively only edits the lines that are intended to be edited?