Open
Description
related to #528
@stefanprodan we just upgraded to Flux 2.2.0 and problem is still occurring.
All our HelmRelease files getting picked up by the Image Automation Controller are getting inline blocks reformatted to single line blocks.
When a HelmRelease manifest has a block configuration like below and is updated by image automation controller, blocks are overwritten as a single line of code making it unreadable. Code blocks should not be reformatted.
For example, this is pipe block
config: |
_format_version: "2.1"
_transform: true
services:
- name: example
url: https://example.org
routes:
- name: example
paths:
- /example
After image automation controller commit becomes
config: "_format_version: \"2.1\"\n _transform: true\n services:\n - name: example\n url: https://example.org\n routes:\n - name: example\n paths:\n - /example\n"
This behaviour is unexpected, we would like blocks to stay exactly as they were before.
Metadata
Assignees
Labels
No labels