Built-in Objects
Release
: This object describes the release itself. It has several objects inside of it:Release.Name
: The release nameRelease.Time
: The time of the releaseRelease.Namespace
: The namespace to be released into (if the manifest doesn’t override)Release.Service
: The name of the releasing service (alwaysTiller
).Release.Revision
: The revision number of this release. It begins at 1 and is incremented for eachhelm upgrade
.- : This is set to
true
if the current operation is an install.
Values
: Values passed into the template from thevalues.yaml
file and from user-supplied files. By default,Values
is empty.Chart
: The contents of theChart.yaml
file. Any data inChart.yaml
will be accessible here. For example{{.Chart.Name}}-{{.Chart.Version}}
will print out themychart-0.1.0
.- The available fields are listed in the Charts Guide
Files
: This provides access to all non-special files in a chart. While you cannot use it to access templates, you can use it to access other files in the chart. See the section Accessing Files for more.Files.Get
is a function for getting a file by name (.Files.Get config.ini
)
Capabilities
: This provides information about what capabilities the Kubernetes cluster supports.Capabilities.APIVersions
is a set of versions.Capabilities.APIVersions.Has $version
indicates whether a version (batch/v1
) is enabled on the cluster.- provides a way to look up the Kubernetes version. It has the following values:
Major
,Minor
,GitVersion
,GitCommit
,GitTreeState
,BuildDate
,GoVersion
,Compiler
, andPlatform
. Capabilities.TillerVersion
provides a way to look up the Tiller version. It has the following values:SemVer
,GitCommit
, andGitTreeState
.
Template
: Contains information about the current template that is being executedBasePath
: The namespaced path to the templates directory of the current chart (e.g. ).