3
1
Fork
You've already forked coturn-chart
0

Feature: disable or enable tls only or non-tls service ports only #3

Open
opened 2026年05月14日 16:19:41 +02:00 by jessebot · 0 comments

Description of the change

We currently create a certificate for you like this:
github.com/jessebot/coturn-chart@3e770404a9/charts/coturn/values.yaml (L43-L46)

That's left over from the chart we forked. We don't even use that value in the two service templates we have 🤦 We should change that to tls.enabled and allow for an tls.existingSecret. When tls.enabled is true, we should maybe not allow any unencrypted traffic, so we should not create the unencrypted ports in the services here and here:

github.com/jessebot/coturn-chart@3e770404a9/charts/coturn/templates/service-tcp.yaml (L14-L20)

github.com/jessebot/coturn-chart@3e770404a9/charts/coturn/templates/service-udp.yaml (L14-L20)

Likewise if tls.enabled is false we should not create the tls ports and instead only create the ports above.

Benefits

This allows you to be completely secure... or not, without the weird in between, as right now, we create both tls and non-tls ports for both UDP/TCP services.

Possible drawbacks and Additional Comments

I suppose it might make sense to allow for both to be configured? Maybe we also need coturn.ports.tls.enabled and coturn.ports.insecure.enabled? 🤔 Open to better names for the values there.

Do we even need two services btw? Can we just have one? 🤷

## Description of the change We currently create a certificate for you like this: https://github.com/jessebot/coturn-chart/blob/3e770404a9482b4381e9296951a1a4164173fa18/charts/coturn/values.yaml#L43-L46 That's left over from the chart we forked. We don't even use that value in the two service templates we have 🤦 We should change that to `tls.enabled` and allow for an `tls.existingSecret`. When `tls.enabled` is `true`, we should maybe not allow any unencrypted traffic, so we should not create the unencrypted ports in the services here and here: https://github.com/jessebot/coturn-chart/blob/3e770404a9482b4381e9296951a1a4164173fa18/charts/coturn/templates/service-tcp.yaml#L14-L20 https://github.com/jessebot/coturn-chart/blob/3e770404a9482b4381e9296951a1a4164173fa18/charts/coturn/templates/service-udp.yaml#L14-L20 Likewise if `tls.enabled` is `false` we should not create the tls ports and instead only create the ports above. ## Benefits This allows you to be completely secure... or not, without the weird in between, as right now, we create both tls and non-tls ports for both UDP/TCP services. ## Possible drawbacks and Additional Comments I suppose it might make sense to allow for both to be configured? Maybe we also need `coturn.ports.tls.enabled` and `coturn.ports.insecure.enabled`? 🤔 Open to better names for the values there. Do we even need two services btw? Can we just have one? 🤷
Sign in to join this conversation.
No Branch/Tag specified
main
renovate/postgresql-18.x
renovate/mysql-14.x
9.8.0
9.7.1
9.6.0
9.5.2
9.5.1
9.5.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-engineering/coturn-chart#3
Reference in a new issue
open-engineering/coturn-chart
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?