helm-diff icon indicating copy to clipboard operation
helm-diff copied to clipboard

Plugin install size increase

Open zcsordas opened this issue 3 months ago • 3 comments

Hey,

I am installing the plugin with the below command in its separate layer in docker, and 3 weeks ago I noticed that the layer size went from ~84MB to ~470MB, this is the only plugin out of 4 which behaves like this, any reason or any setting I can change to return to the original size?

Command: helm plugin install https://github.com/databus23/helm-diff --version 3.12.2

zcsordas avatar Sep 04 '25 14:09 zcsordas

Looks like Copilot committed some tarballs to a branch in this PR #836 and that has increased the repo size. I think the developer squash merged to master but the files are still objects in the repo and are cloned when helm plugin install is run. helm plugin install ends up cloning the repo and then executing the install hook script in this repo that downloads a compiled release of the plugin.

plnordquist avatar Sep 04 '25 21:09 plnordquist

I think a maintainer on this repo will need to remove the copilot/fix-436 branch as a good first step since it still contains the offending commit https://github.com/databus23/helm-diff/commit/9d813169. I don't know how long GitHub will keep the objects around in the repo though or if they will immediately stop being served to new clone requests.

plnordquist avatar Sep 04 '25 21:09 plnordquist

@plnordquist I will see what happend.

yxxhero avatar Sep 06 '25 23:09 yxxhero