Find a way to show configuration files diff between different versions of an image
When storing configuration files in Git, it's easy to show diff between different versions. When storing configuration files in a docker image, we will need an imgpkg sub command to show the diff (which is similar to the --diff-changes of kapp)
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this bug fixed as soon as possible" 👎 "There are more important bugs to focus on right now"
We are also happy to receive and review Pull Requests if you want to help fix this issue.
that's an interesting suggestion. may be something like this: imgpkg diff --images your-user/app1-config:0.1.1...your-user/app1-config:0.1.5 which would use typical differs to show content differences. might be even useful to have similar semantics as git for ranges (ie head, etc.)
Thanks. Sound good! imgpkg will need to pull the two images, mount the data volume to local dir and run diff to get the result. Another format could be imgpkg diff --image your-user/app1-config --tags 0.1.1:0.1.5, as we probably won't compare different images but only different tags of the same image.
as we probably won't compare different images but only different tags of the same image.
i can imagine someone trying to diff two separate images if they "augmented" one with changes from the other and now trying to determine what's changed. but your point still stands, common case is a single image.
Got your pionts :D