{{ .Values.image }}) so a single values.yaml can customize many resources in one place. Below are example template files that you might find in a WordPress Helm chart. Each template demonstrates how variables are referenced and where values come from.
templates/deployment.yaml


Useful Helm commands (summary)
Examples and tips:
Kubernetes Secret data values (the “data” field) must be base64-encoded. In the earlier secret template, .Values.passwordEncoded is expected to already be base64-encoded. If you prefer to supply the raw password in values.yaml and have Helm encode it during rendering, you can use the b64enc template function, for example:Alternatively, use the Secret’s stringData field to provide raw (unencoded) string values and let the API server handle encoding:Avoid including raw passwords in plain text in version control; consider using external secret management or encrypted values files.
- Helm documentation: https://helm.sh/docs/
- Artifact Hub: https://artifacthub.io/
- Kubernetes documentation: https://kubernetes.io/docs/