Several spots in the helm chart expect to handle TLS if TURN is enabled and a tls_port is passed.
For example:
{{- if and .Values.livekit.turn.enabled .Values.livekit.turn.tls_port }}
volumes:
- name: lkturncert
secret:
secretName: {{ required "tls secret required if turn enabled" .Values.livekit.turn.secretName }}
{{- end }}
causes the chart to fail if trying to use external_tls.
Suggested fix: Add a check for .Values.livekit.turn.external_tls and skip managing certs/TLS with the chart for cases where the load balancer is managed outside of the chart and TLS is terminated there.
Several spots in the helm chart expect to handle TLS if TURN is enabled and a
tls_port
is passed.For example:
causes the chart to fail if trying to use
external_tls
.Suggested fix: Add a check for
.Values.livekit.turn.external_tls
and skip managing certs/TLS with the chart for cases where the load balancer is managed outside of the chart and TLS is terminated there.