Documentation for version v0.41.0 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
YAML anchors and templating directive for the same YAML node are not supported.
first: &content #@ 123 second: *content
secondkey-value pair will not contain 123 since YAML anchors are resolved before ytt evaluates templating directives.
(Help improve our docs: edit this page on GitHub)