Chart anatomy
A chart includes metadata in Chart.yaml, default inputs in values.yaml, and templates generating Kubernetes manifests. Templates combine values with release context. Keep defaults comprehensible and validate expected inputs; a template’s complexity should not obscure the actual Kubernetes objects a reviewer needs to inspect. For example, a Deployment replica count comes from .Values.replicaCount while its namespace may come from .Release.Namespace.
A Deployment replica count comes from .Values.replicaCount while its namespace may come from .Release.Namespace.
A chart directory contains Chart.yaml for package metadata, values.yaml for default inputs, and templates for generated Kubernetes objects. When rendered, Helm combines these inputs with release context. The result should be inspected as ordinary manifests: Deployment labels, Service selectors, ports, namespace, and secret references all still need correct relationships.
A chart is a package of templates and related files. A value is an input affecting rendering. Release context supplies installation identity and namespace. Use clear values instead of making reviewers reverse-engineer nested template expressions. Version the chart and document supported Kubernetes APIs. Templates reduce repetitive configuration but can also conceal a mistake repeated across many environments. A correct chart name and successful packaging do not prove its objects are supported by the target API or its application starts. Keep examples concrete and scope their assumptions, including image, configuration, and persistence requirements.
A Deployment replica count comes from .Values.replicaCount while its namespace may come from .Release.Namespace.
Do not overlook this operational distinction: Keep defaults comprehensible and validate expected inputs; a template’s complexity should not obscure the actual Kubernetes objects a reviewer needs to inspect.