-
Notifications
You must be signed in to change notification settings - Fork 258
Closed
Description
Describe the bug
Take the version number with a grain of salt, we only noticed this due to the new feature of reporting labels and annotations
When producing a yaml report with KRR that contains very long lines (seems to be pretty exactly 81 columns), krr adds a line break, which often breaks the yaml format.
Example:
rewe-digital.com/scm-image-commit: <commit-hash> produces a line that's longer than 80 lines. This is being output to the yaml files as
rewe-digital.com/scm-image-commit:
<commit-hash>
Which is invalid yaml, so it breaks programs trying to parse the file
To Reproduce
- create some kubernetes resource where label + value is longer than 80 columns
- analyze this resource with krr and configure yaml output
- check the produced yaml file
Workaround
For now simply downgrading to 1.17.0 fixes the issue since the labels and annotations are not being written to the output report
sebastianserrano
Metadata
Metadata
Assignees
Labels
No labels