Interview Prep/Helm/Chart Structure & Metadata

Why should `appVersion` be quoted in `Chart.yaml`?

BeginnerConceptChart Structure & Metadata
Answer

YAML parses unquoted 1.10 as the float 1.1, and 1.0 as 1. The image tag rendered from .Chart.AppVersion would then be wrong (app:1.1 instead of app:1.10). Always write appVersion: "1.10". The same rule applies to image tags in values.yaml, and it is why we pipe tags through quote or toString in templates.

All Helm questions Roadmap: Helm

More on Chart Structure & Metadata