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
Jinja cant work with dashes in variables names. {{components.redis.manifest.Service.redis-master.status.loadBalancer.ingress.0.ip}} here redis-master causes error. As workaround we can specify such keys in quotes(' or ") Service["redis-master"]. This is because Jinja applies to variables same rules as Python to own variables.
Notes:
To rise error when template variable is absent pass jinja2.StrictUndefined policy to jinja2.Template initializer, e.g. template = jinja2.Template('template', undefined=jinja2.StrictUndefined)
Consider replacement of current template engine(Pystache/Chevron) by Jinja.
Requirements:
{{
}}
- template variable markers.The text was updated successfully, but these errors were encountered: