How to use `tar` command to package helm chart?

7/30/2021

I had a helm chart named test and wanted to package it.
When i used command helm package ./test and helm install test test-0.1.0.tgz command, it succeeded.
But when i used tar zcf test.tgz ./test and helm install test test.tgz, it failed.
I used tar zxvf to untar test-0.1.0.tgz and test.tgz, i found that they were the same by command diff.
How to use tar to package helm chart?

-- Jing Wang
kubernetes
kubernetes-helm
tar

0 Answers