Helm
Helm --set ↔ values.yaml
Convert --set flags into a values file and back, with Helm's exact type-coercion rules.
--set flags
values.yaml
replicaCount: 3
image:
tag: 1.2.3
Type coercion
- High
"replicaCount=3" is coerced to number 3. If it must stay a string — a numeric password, or a version like 3 that a chart compares as text — use --set-string.
Helm coerces integers only. A value with a decimal point such as 1.10 stays a string, contrary to what many guides claim. Booleans and null match case-insensitively. Verified against helm v4.