You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this works, I had to repeat the Jinja expression for review namespace multiple times. I wonder if we could/should add a new feature to extract variables that the templates could use. With this example, it could be as simple as:
This will make the templates easier to read, reduce the risk of minor errors/typos (Jinjia is hard), and allow for easier patching of OTs with e.g. Kustomize.
The text was updated successfully, but these errors were encountered:
After my POC on dynamic review environments, I encountered unavoidable duplications in my
ObjectTemplate
:While this works, I had to repeat the Jinja expression for
review
namespace multiple times. I wonder if we could/should add a new feature to extract variables that the templates could use. With this example, it could be as simple as:This will make the templates easier to read, reduce the risk of minor errors/typos (Jinjia is hard), and allow for easier patching of OTs with e.g. Kustomize.
The text was updated successfully, but these errors were encountered: