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 the filesystem, network, time, randomness, or the operating system interfaces. This guarantees that templates produce identical output with the same inputs.

Features

  • Intuitive templating
  • Makes template code look familiar by including a sandboxed Pythonic language
  • Overlays
  • Patch YAML structures via the builtin overlay package
  • Template any YAML content, including, Kubernetes configuration, Concourse pipelines, Docker Compose files, etc.
  • See ytt in action using the interactive playground

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow ytt

ytt Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ytt!

Additional Project Details

Programming Language

Go

Related Categories

Go Software Development Software, Go Admin Templates

Registered

2022-06-23