Search code examples
kuberneteskubernetes-helm

Nested subchart of Helm


Can I make nested chart of Helm?

Subchart is defined in Helm Chart spec. e.g. Wordpress chart includes Nginx and MySQL subchart.

Can I define more deep nested chart? e.g. Wordpress chart includes HTTPd chart and the chart also includes Nginx, HAProxy and memcached subchart.


Solution

  • Yes, each chart can depend on charts them selves to create a tree like structure of dependencies.

    PrimaryApplication |- Service1 |- httpd |- Database |- Service2 |- haproxy |- common