You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Hi @LukasPrediger, thanks for the bug report.
I haven't been able to reproduce when running krr with a long label and the command krr simple -f yaml --quiet > out.yaml
What command are you running krr with?
Did indeed get rid of the issue. It must be something related to how the file is being saved, more specifically with how the --fileoutput option is being handled
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 asWhich is invalid yaml, so it breaks programs trying to parse the file
To Reproduce
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
The text was updated successfully, but these errors were encountered: