allow openshift routes to specify termination
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
04281d554d
commit
c8b31c025b
1 changed files with 4 additions and 0 deletions
|
@ -24,5 +24,9 @@ spec:
|
||||||
kind: Service
|
kind: Service
|
||||||
name: {{ servicename }}
|
name: {{ servicename }}
|
||||||
tls:
|
tls:
|
||||||
|
{% if termination_passthrough is defined and termination_passthrough %}
|
||||||
|
termination: Passthrough
|
||||||
|
{% else %}
|
||||||
termination: edge
|
termination: edge
|
||||||
insecureEdgeTerminationPolicy: Redirect
|
insecureEdgeTerminationPolicy: Redirect
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue