Files
helm/docs/examples/nginx
Steve Wilkerson aa8d178c18 docs(helm): change trunc 24 in base charts
The upper limit for a chart name is 63 characters now instead of
14 or 24 in older versions of Kubernetes. This replaces `trunc 24`
in the example chart provided to `trunc 63` to reflect the new
length available.

Closes #1637
2016-12-21 11:39:26 -07:00
..

nginx: An advanced example chart

This Helm chart provides examples of some of Helm's more powerful features.

This is not a production-grade chart. It is an example.

The chart installs a simple nginx server according to the following pattern:

The values.yaml exposes a few of the configuration options in the charts, though there are some that are not exposed there (like .image).

The templates/_helpers.tpl file contains helper templates. The leading underscore (_) on the filename is semantic. It tells the template renderer that this file does not contain a manifest. That file declares some templates that are used elsewhere in the chart.

Helpers (usually called "partials" in template languages) are an advanced way for developers to structure their templates for optimal reuse.

You can deploy this chart with helm install docs/examples/nginx. Or you can see how this chart would render with helm install --dry-run --debug docs/examples/nginx.