Which built-in objects are available in templates?
BeginnerConceptChart Structure & Metadata
Answer
.Values: merged values..Release:Name,Namespace,Revision,IsInstall,IsUpgrade,Service(alwaysHelm)..Chart: contents ofChart.yaml(.Chart.Name,.Chart.Version,.Chart.AppVersion)..Capabilities: Kubernetes and API versions, Helm version..Files: access to non-template files..Template:Name(current file path) andBasePath..Subcharts: access to subchart scopes (Helm 3.13+).
Field names on built-ins are capitalized; values keys keep whatever case you wrote.
More on Chart Structure & Metadata
What files does `helm create mychart` generate and which ones matter?BeginnerWhat are the required fields in `Chart.yaml`?BeginnerWhat is the difference between `version` and `appVersion`?BeginnerWhy should `appVersion` be quoted in `Chart.yaml`?BeginnerWhat does `type: library` vs `type: application` mean?BeginnerWhat is the `kubeVersion` field used for?Intermediate