avoid large size of helm chart

These days I am trying to integrate one helm chart as a sub chart into another helm chart. However, I encountered a installation problem after the integration. When I run the below command to install a release, I got the ‘release not found error’:

helm install –name demo -f outer-values.yaml demo-helm-chart.tgz

With the help of my colleague, I got the root cause to this problem. The issue is describe in the below URL:


Helm will store the helm chart in Kubernetes as configmap. However, there is a size limit for configmap since Kubernetes 1.5. The size of a configmap couldn’t exceed 1M. If the size of the helm chart is larger than 1M, there will be issues. As a rule of thumb, always don’t put unnessecary files in the helm chart.