Helm chart package recursively contains tarball of itself
isindir opened this issue · 1 comments
isindir commented
Helm chart package recursively contains tarball of itself.
How to reproduce:
helm fetch twuni/docker-registry --untar
cd docker-registry
ls -1
Output:
Chart.yaml
LICENSE
README.md
docker-registry-1.10.1.tgz
templates
values.yaml
but:
% tar -tzvf docker-registry-1.10.1.tgz
-rw-r--r-- 0 0 0 385 15 Feb 04:01 docker-registry/Chart.yaml
-rw-r--r-- 0 0 0 3199 15 Feb 04:01 docker-registry/values.yaml
-rw-r--r-- 0 0 0 1477 15 Feb 04:01 docker-registry/templates/NOTES.txt
-rw-r--r-- 0 0 0 785 15 Feb 04:01 docker-registry/templates/_helpers.tpl
-rw-r--r-- 0 0 0 345 15 Feb 04:01 docker-registry/templates/configmap.yaml
-rw-r--r-- 0 0 0 7981 15 Feb 04:01 docker-registry/templates/deployment.yaml
-rw-r--r-- 0 0 0 1203 15 Feb 04:01 docker-registry/templates/ingress.yaml
-rw-r--r-- 0 0 0 536 15 Feb 04:01 docker-registry/templates/poddisruptionbudget.yaml
-rw-r--r-- 0 0 0 770 15 Feb 04:01 docker-registry/templates/pvc.yaml
-rw-r--r-- 0 0 0 1555 15 Feb 04:01 docker-registry/templates/secret.yaml
-rw-r--r-- 0 0 0 1660 15 Feb 04:01 docker-registry/templates/service.yaml
-rw-r--r-- 0 0 0 217 15 Feb 04:01 docker-registry/.circleci/config.yml
-rw-r--r-- 0 0 0 333 15 Feb 04:01 docker-registry/.helmignore
-rw-r--r-- 0 0 0 11343 15 Feb 04:01 docker-registry/LICENSE
-rw-r--r-- 0 0 0 8793 15 Feb 04:01 docker-registry/README.md
-rw-r--r-- 0 0 0 23567 15 Feb 04:01 docker-registry/docker-registry-1.10.1.tgz
canterberry commented
Well noticed! Thanks for the report.
This was a packaging issue, so no code change was required to remedy this. I've pushed a corrected version.
I'll also work toward getting this automated so that new versions no longer require manual packaging, indexing, and publishing.