What is the `kubeVersion` field used for?
IntermediateConceptChart Structure & Metadata
Answer
A SemVer constraint on the target cluster's Kubernetes version. Helm checks it before rendering and fails early instead of half-installing with unsupported APIs.
kubeVersion: ">=1.27.0-0"
The -0 suffix matters: managed clusters report versions like v1.30.4-eks-a737599, which SemVer treats as a pre-release, and a constraint without -0 excludes pre-releases. Failure looks like chart requires kubeVersion: >=1.27.0 which is incompatible with Kubernetes v1.30.4-eks-a737599.
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 other optional fields can `Chart.yaml` contain?Beginner