An Alternative to Text Templating of YAML Configuration in Helm
summary
A concrete alternative to Helm text templating that actually parses YAML rather than treating it as text, ytt uses Google’s Starlark for templating, embeds metadata as overlay annotations in YAML comments, and supports functions, loops, conditionals, data injection and assertions. Examples include base64-encoding a Docker registry secret, converting a Vault chart with fewer indentation errors, and an organizational k8s-lib for generating Deployment+Service+HPA; overlays can insert, update or remove documents and they work as demonstrated.
AI-written summary · about
chapters (3)
related talks
09mThe thin line between code and configuration (YAML/Helm rant)
43mAt The Helm of Kubernetes: Repeatable Infrastructure Creation for Mere Mortals
41mHelm - the Better Way to Deploy on Kubernetes
35mDeep Dive: Helm
05mYAML Considered Harmful
26mHelm your way with Kubernetes
34mKustomize vs Helm - Civil War
05mA 5 minute introduction to Helm charts
