chart-testing icon indicating copy to clipboard operation
chart-testing copied to clipboard

Add a "diff" command

Open diranged opened this issue 4 years ago • 0 comments

Is this a request for help?:

No, this is a feature request.


I would love to see a ct diff command, that provides a diff between the previous generated template and the new generated template for a given chart based on the values files. Today our developers rely pretty heavily on this pattern:

$ make template > orig
$ ... vi values.yaml .. make some changes
$ make template > new && diff -b -u orig new

It's a super useful pattern for making sure you know what impact your change is going to have on a template.. but its a little convoluted to do it this way. I would love to see the ct tool provide this automatically.

diranged avatar Apr 13 '21 16:04 diranged