Template and patch as needed to easily make your configuration reusable and extensible. Works with your own and third-party YAML configuration. ytt templates are plain YAML documents made from nodes such as maps and arrays. ytt allows you to set values and attach statements (such as if and for loops) on those nodes. This eliminates text insertion concerns like manual escaping and allows for easy structure reuse, thus, increasing readability. Weave ytt templating into your own configuration, externalize values to variables, extract repeated snippets to functions, and make whole sections conditional. Patch on top of any configuration using ytt overlays. Express precise structural edits and invariant declaratively. ytt execution environment is hermetic and side-effect free, with no access to filesystem, network, time, randomness, or the operating system interfaces. This guarantees that templates produce identical output with the same inputs.

Features

  • Intuitive templating
  • Patch YAML structures via the builtin overlay package
  • Template any YAML content, including, Kubernetes configuration, Concourse pipelines, Docker Compose files, etc.
  • Makes template code look familiar by including a sandboxed Pythonic language
  • Interactive Playground
  • Documentation available

Project Samples

Project Activity

See All Activity >

Categories

YAML Editors

License

Apache License V2.0

Follow Carvel ytt

Carvel ytt Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Carvel ytt!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go YAML Editors

Registered

2024-03-20