ytt

YAML templating tool that works on YAML structure instead of text

APACHE-2.0 License

Stars
1.6K
Committers
73

Bot releases are visible (Hide)

ytt - v0.6.0

Published by cppforlife over 5 years ago

5bb61ca3ffdaa37cb9aa3f655fe3ec7df5b5b64119d7cc9571a775852b78ba91  ./ytt-darwin-amd64
975b811dcb591b2bc6446cdeaab4b934545dea340eb7f8222a83efe34e99deda  ./ytt-linux-amd64
f99cfab70a53d18b7258cbcc773e1abc3b0f1153416ab6e37a929570ff98b6ad  ./ytt-windows-amd64.exe
ytt - v0.5.0

Published by cppforlife over 5 years ago

  • Correct load path searching for non-top-level templates
043b98b2425496ebf88f9c2d0ad4c3fdba12fb4037e99fa8a44499100ad0e486  ./ytt-darwin-amd64
340a3bd30c925f865b53762e3c54b88843b2d0b898fbb58e2deb003ea182df26  ./ytt-linux-amd64
d99fb6f7a0d8f1e08176c27c65d3023b60bff322b83f756db24da5741a45354c  ./ytt-windows-amd64.exe
ytt - v0.4.0

Published by cppforlife over 5 years ago

  • Add --file-mark to support configuring file metadata
    • allows to change file paths: --file-mark config.yml:path=other-config.yml
    • select exclusively which files to output: --file-mark config.yml:exclusive-for-output=true
    • change how file contents is interpreted: --file-mark config.yml:type=yaml-plain (yaml-template, yaml-plain, text-template, text-plain, starlark, data)
1fb2cc9ccb516bba9fb3e042849d2fbb68b73768dcfbe718cdc385618602fe59  ./ytt-darwin-amd64
5205c22c5bd5a34c2d6f63e9870d70a7272d33d01dcbace2c5fbefcca85e00aa  ./ytt-linux-amd64
4e5cf4e97a407d2bf53df05a0df5e34f96e3e0017b5604497454d840cc96ff67  ./ytt-windows-amd64.exe
ytt - v0.3.0

Published by cppforlife over 5 years ago

  • Fix @overlay/remove to get rid of array items and documents, without leaving nils in AST
af316b851261a7f0e5e93c111e7a466ccbc3100654c4f868e9b72af26269f2a4  ./ytt-darwin-amd64
c12a2078d3d5e851dfb32a799b3ccb8b4b9fa082b37d18d04e4ab098c2432f09  ./ytt-linux-amd64
52d02464f44bf2dc7b7fac32ec1b51614e8054e1581e8ed6286f8a4ad250005c  ./ytt-windows-amd64.exe
ytt - v0.2.0

Published by cppforlife over 5 years ago

  • Fail for non-regular files (symlinks, devices, etc.)
  • Do not render YAML templates from _ytt_lib directory
2e49c7ef41a655b35ac192f40b9fd4c62cd05c177d6d24faecbdf054677d2c95  ./ytt-darwin-amd64
6e6e904d0966fbfe4f6c9736b84396e86d6af9edb720caca2ad34ac243d47d52  ./ytt-linux-amd64
8c9197f3b645e30d44471a04f7dce86cc79eaaf5b79b8219442111bfd8d632af  ./ytt-windows-amd64.exe
ytt - v0.1.0 - Initial release

Published by cppforlife over 5 years ago

  • Adds ytt template command
    • Supports for conditionals, loops, variables, functions, etc via Starlark language
    • Allows rendering of templates in the entire directory vs specific files
  • Supports overlays for customization
e771415781af72ca2dc8288f5a2d9bf617fe6a81fc3a95af6c67fa8352c0ca73  ./ytt-darwin-amd64
08d52157a8a7cea47215f05b5e16f318005430d15729f45697686715cb92b705  ./ytt-linux-amd64
e2f3ca145a0bca2b7277e31ece9c055ddb2e49959af65cfbbfd79da8b732e47a  ./ytt-windows-amd64