Just don't add whitespace. You don't remove waht you don't add

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-04-19 13:48:40 +00:00
parent 671f033999
commit 1a0920ceee

View file

@ -5,9 +5,9 @@ metadata:
labels: labels:
app: {{ app }} app: {{ app }}
spec: spec:
{% if host is defined %} {% if host is defined %}
host: {{ host }} host: {{ host }}
{%- endif %} {% endif %}
port: port:
targetPort: {{ serviceport }} targetPort: {{ serviceport }}
to: to: