Template the listener protocol into the receptor install bundle (#14792)

Previously we were hard-coding tcp, now we need to also support ws/wss.
This commit is contained in:
Jeff Bradberry
2024-01-22 11:29:34 -05:00
committed by Seth Foster
parent cd9dd43be7
commit 8ddb604bf1
3 changed files with 10 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ custom_tls_certfile: receptor/tls/receptor.crt
custom_tls_keyfile: receptor/tls/receptor.key
custom_ca_certfile: receptor/tls/ca/mesh-CA.crt
{% if listener_port %}
receptor_protocol: tcp
receptor_protocol: {{ listener_protocol }}
receptor_listener: true
receptor_port: {{ listener_port }}
{% else %}
@@ -28,7 +28,7 @@ receptor_listener: false
receptor_peers:
{% for peer in peers %}
- address: {{ peer.address }}
protocol: {{ peer.protocol}}
protocol: {{ peer.protocol }}
{% endfor %}
{% endif %}
{% verbatim %}