BlogsIBMYAML Templating Tool (ytt)

YAML Templating Tool (ytt)

YAML Templating Tool (ytt)

1
posts
2019

ytt is a YAML templating tool that understands YAML structure, using comments for annotation. It supports declarative and imperative operations via Starlark, modularization of configurations, data injection, and data validation. It offers syntactic sugar for conditionals, loops, and functions, and provides an 'overlay' feature for configuration management. ytt aims to simplify configuration and deployment on Kubernetes and other platforms.

2019

A new take on YAML templating for configuration files

3/12/2019

Introduces ytt (YAML Templating Tool) v0.1.0, a new approach to YAML templating that is structure-aware rather than text-based. It uses YAML comments for annotations and Starlark for imperative operations, conditionals, loops, modularization, data injection, and validation. Compares ytt to Helm's text templating with examples of ingress YAML and helper functions. Mentions an 'overlay' feature for configuration management.