allow openshift routes to specify termination

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-05-11 18:04:17 +02:00
parent 04281d554d
commit c8b31c025b

View file

@ -24,5 +24,9 @@ spec:
kind: Service
name: {{ servicename }}
tls:
{% if termination_passthrough is defined and termination_passthrough %}
termination: Passthrough
{% else %}
termination: edge
insecureEdgeTerminationPolicy: Redirect
{% endif %}