- Website: https://get-ytt.io
- Slack: #k14s in Kubernetes slack
- Docs with topics on language, security, ytt vs other tools, blog posts and talks etc.
- Install: Grab prebuilt binaries from the Releases page
ytt
(pronounced spelled out) is a templating tool that understands YAML structure allowing you to focus on your data instead of how to properly escape it.
Features:
- templating works on YAML structure (instead of text)
- which eliminates variety of problems such as invalid YAML formatting, escaping, etc.
- syntactic sugar for single YAML node conditionals and for loops
- makes it easier to read densely conditioned templates
- templates are themselves valid YAML files
- makes them friendly to existing editors and YAML tools
- includes sandboxed "fully featured" Python-like programming language
- allows configuration modularization via functions and libraries
Try out online playground or download latest binaries from Releases page and run it locally:
ytt -f examples/playground/example-demo/
ytt -f examples/playground/example-demo/ --output-directory tmp/
See examples/playground/ for examples shown on get-ytt.io.
Consult docs/dev.md for build instructions, code structure details.