The Values Object and Nested Access
Reading user configuration deep in the tree.
Meet the Values Object
Inside a template, .Values holds every setting from your chart's values.yaml plus any overrides you passed. It is your config tree.
Reading a Top-Level Key
A top-level key like replicaCount becomes .Values.replicaCount. The dot path mirrors the YAML structure exactly. 🌳
# values.yaml
replicaCount: 3
# template
replicas: {{ .Values.replicaCount }}All lessons in this course
- The Values Object and Nested Access
- Release Metadata via .Release
- Chart and Capabilities Objects
- Files, Template, and the Root Context