Helm Templates

From NovaOrdis Knowledge Base
Revision as of 00:47, 29 August 2019 by Ovidiu (talk | contribs) (→‎Release)
Jump to navigation Jump to search

Internal

Built-in Objects

Built-in Objects

Chart

Exposes all contents of Chart.yaml. An existing field is available as (note leading dot) .Chart.<UpperCasedFirstLetterFieldName>.

Example:

{{ .Chart.Name }}
{{ .Chart.Version }}

Values

Release

Release.Name

Template:.Release.Name

Release.Time

Template:.Release.Time


Release.Name: The release name Release.Time: The time of the release Release.Namespace: The namespace to be released into (if the manifest doesn’t override) Release.Service: The name of the releasing service (always Tiller). Release.Revision: The revision number of this release. It begins at 1 and is incremented for each helm upgrade. Release.IsUpgrade: This is set to true if the current operation is an upgrade or rollback. Release.IsInstall: This is set to true if the current operation is an install.

Files

Capabilities

Template

TODO

Template Comments

# This is a comment
{{- /*
This is another comment
*/ -}}

TODO