Skip to content

coturn 5.6.0 release

For details, see the release notes on the wireapp/coturn repo.

Chart: coturn version 5.6.0, from oci://quay.io/wire/charts/stable/coturn.

Heads up

Coming from chart 4.6.2-federation-wireapp.55.

The image and the chart now share one version number.

The image now uses Debian bookworm and OpenSSL 3. It was Debian bullseye and OpenSSL 1.1. Test your TLS certificate and key with the new image before you upgrade production.

The chart needs Kubernetes 1.21 or later.

No values key is renamed or removed. No manual step is necessary for the StatefulSet.

What must change

Use the image of the same release (5.6.0). Do not pin image.tag to an older image. An older image ignores federation-CA-file and accepts federation peers without a check of their certificate.

If you use a private registry, mirror quay.io/wire/coturn:5.6.0. The other images of the chart do not change.

Changed defaults

  • TURNS (tls.enabled: true) no longer asks clients for a client certificate. The chart no longer renders CA-file in turnserver.conf.
  • The ca.* values now apply only if federate.enabled and federate.dtls.enabled are both true. The CA file is then rendered as federation-CA-file. Without DTLS federation, Helm deletes the coturn-ca-certificate Secret. If you use ca.secretRef, your Secret stays, but the chart no longer mounts it.
  • ca.enabled is deprecated.
  • With federate.enabled: true: if you do not set coturnFederationListeningIP, it now takes the value of coturnTurnListenIP. Before, it was __COTURN_EXT_IP__. If federation must listen on the external IP of the node, set:
coturnFederationListeningIP: __COTURN_EXT_IP__
  • The get-external-ip init container and the ClusterRole and ClusterRoleBinding coturn-wire are rendered only if a setting uses __COTURN_EXT_IP__. With the default values, nothing changes. If you set all IP settings to a literal IP, __COTURN_HOST_IP__ or __COTURN_POD_IP__, Helm deletes them.
  • The default resources changed:
Old New
requests.cpu none 500m
requests.memory 512Mi 256Mi
limits.memory 6.5Gi none

To keep the old values, set resources explicitly. The CPU request can change the scheduling on small nodes.

Rollout

All coturn pods restart, one at a time. TURN allocations on a restarted pod are lost. Calls that use this pod as relay drop or reconnect. With one replica, no new relayed calls are possible while the pod restarts. Do the upgrade in a maintenance window.

With coturnGracefulTermination: true, each pod keeps its allocations for up to coturnGracePeriodSeconds (default 12 hours) before it stops.