Treat empty string as undefined

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
This commit is contained in:
Oliver Sand
2021-06-04 16:48:38 +02:00
parent 805f6ecc15
commit c5a6f33c37
3 changed files with 35 additions and 3 deletions
@@ -7,6 +7,6 @@ spec:
type: website
lifecycle: experimental
owner: {{cookiecutter.owner | jsonify}}
{%- if cookiecutter.system != "" %}
{%- if 'system' in cookiecutter %}
system: {{ cookiecutter.system | jsonify }}
{%- endif %}