Primer on ytt Overlays
by John Ryan — Mar 31, 2022
ytt Overlays can be a little … unintuitive. 😬 If you’ve taken Overlays out for a spin and been kinda frustrated, you’re not alone. There’s a lot going on even in the simplest case. This makes for a steep learning curve.
I’m here to flatten that learning curve. 👍
Let’s walk in the shoes of someone who has a host of needs for overlays: each getting a little more sophisticated than the last. By the time we’re done, we’ll have seen all the core aspects of this powerful feature … and better yet, we’ll have learned how to:
- quickly read overlay-related error messages,
- make the most of the built-in matchers and know how to write your own,
- understand how ytt annotations attach to YAML,
… and much more.
This is a vlog because it is so much more instructive to see this kind of feature working in realtime than to read about it. While each part builds on the last, you can also jump around if you’d like; don’t miss the index in the video description.
Feel free to just sit back and take it all in. Some learn better by doing; here’s the starting point of the primer and you can follow along. It can also be helpful to have a complete working example just in case it all goes off the rails.
Without further ado, let’s get overlayin'!
Join the Carvel Community ¶
We are excited to hear from you and learn with you! Here are several ways you can get involved: