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
{{ message }}
Repository navigation
Is there a way to ignore line-endings as changes? #512
I'm diffing against a previous revision of a chart an am gettings the entire chart definition as diff, apart from the last line in every resource. I suspect the diffing tool recognizes different line endings. I don't know how they ocurred in the first place, but it would be great to know, if this is something I can toggle.
Same thing for us. Some of us use Helm on Windows to deploy, and others on Mac. This makes the plugin unusable as large parts of the charts are always shown as different.
@antoineozenne thanks, that trick works good for normal manifest, but for the configmap, it still shows everything as diff. Even worse, the old values are shown as normal (line wrapped correctly), but the new change shown as one line string with \n:(
I think this plugin should work out of the box for this, and should cater for the end of line like in git. @databus23 FYI.
Activity
antoineozenne commentedon Feb 4, 2025
Same thing for us. Some of us use Helm on Windows to deploy, and others on Mac. This makes the plugin unusable as large parts of the charts are always shown as different.
antoineozenne commentedon Feb 4, 2025
@InDieTasten This seems to be a duplicate of #305. We can use
--nomalize-manifestsin the diff command to ignore style differences.quickwind commentedon Jul 16, 2025
@antoineozenne thanks, that trick works good for normal manifest, but for the configmap, it still shows everything as diff. Even worse, the old values are shown as normal (line wrapped correctly), but the new change shown as one line string with \n:(
I think this plugin should work out of the box for this, and should cater for the end of line like in git. @databus23 FYI.