kuttl icon indicating copy to clipboard operation
kuttl copied to clipboard

Filter `metadata.managedFields` from yaml diff output

Open jeloba opened this issue 3 years ago • 0 comments

What would you like to be added:

Filter metadata.managedFields from yaml diff output when an expectation mismatch is printed. The fields should remain as is, if it's part of the expectation.

Why is this needed:

metadata.managedFields contains a lot of information, that is seldom relevant. Printing it on every mismatch makes the output more verbose than needed. It hides the important differences and makes test results difficult to navigate.

jeloba avatar May 04 '22 07:05 jeloba