McKube 0 requests sent

YAML 1.1 vs 1.2 Gotchas in Kubernetes Manifests

Why unquoted 'on', 'yes', 'y', '1.10', and 'True' behave differently across kubectl, Helm, and strict YAML 1.2 tools.

Why Kubernetes still uses YAML 1.1 semantics

Kubernetes client-go (sigs.k8s.io/yaml) and Helm inherit YAML 1.1 rules where unquoted yes, no, on, off, True, and TRUE evaluate as booleans, and unquoted 1.10 becomes float 1.1. Always quote string annotations and ConfigMap values ("on", "y", "0x1F", "1.10") and use lowercase true/false for booleans so manifests behave identically across every validator.