Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions changelog.d/0-release-notes/coturn-udp-ports
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
For users of the (currently alpha) coturn Helm chart:
**manual intervention may be required** when upgrading to
this version of the chart from a prior version, due to [a bug in
Kubernetes](https://github.com/kubernetes/kubernetes/issues/39188) which
may interfere with applying changes to pod and service port configuration
correctly.

If, after updating this chart, the coturn pods do not have both a `coturn-udp`
port and a `coturn-tcp` port, then the coturn `StatefulSet` must be manually
deleted from the cluster, and then recreated by re-running Helm. Similarly, if
the coturn `Service` does not have both a `coturn-udp` port and a `coturn-tcp`
port, this `Service` must be similarly deleted and recreated.
2 changes: 2 additions & 0 deletions changelog.d/3-bug-fixes/coturn-udp-ports
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The service definitions in the coturn Helm chart were missing the control plane
UDP port used by coturn.
4 changes: 4 additions & 0 deletions charts/coturn/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@ spec:
- name: coturn-tcp
port: {{ .Values.coturnTurnListenPort }}
targetPort: coturn-tcp
- name: coturn-udp
port: {{ .Values.coturnTurnListenPort }}
targetPort: coturn-udp
protocol: UDP
selector:
{{- include "coturn.selectorLabels" . | nindent 4 }}
3 changes: 3 additions & 0 deletions charts/coturn/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ spec:
- name: coturn-tcp
containerPort: {{ .Values.coturnTurnListenPort }}
protocol: TCP
- name: coturn-udp
containerPort: {{ .Values.coturnTurnListenPort }}
protocol: UDP
- name: status-http
containerPort: {{ .Values.coturnMetricsListenPort }}
protocol: TCP
Expand Down