YAML templating (.yml.tpl) info?

While i was discovering Rancher features, i found interesting file format in community templates library – docker-compose configs, but not just with environment variables, it has blocs like {{- if }} … {{- end}] and other features i’ve never seen.

I couldn’t find any mention of this .yml.tpl format in Rancher documentation, but it looks like official feature, because i also found this template syntax in official library (Catalog -> Library -> Kubernetes, for example).

So, does anyone know about details of this format? At least provide advanced examples of templates? Thank you.


1 Like

In my defence, i didn’t searched it in Rancher CLI documentation. Anyway, thank you!