Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoTURN - Automatically generated shared secret does not match between configurations #42

Open
Arkaniad opened this issue Sep 13, 2020 · 0 comments

Comments

@Arkaniad
Copy link
Collaborator

Summary

In the CoTURN subchart I noticed the following:

https://github.com/dacruz21/matrix-chart/blob/55dfb5b5c8f386bb3541aa27492e9cd07f611430/templates/coturn/_helpers.tpl#L1-L11

This randomly generated value seems to be generated twice if .Values.coturn.sharedSecret is left blank, which seems to prevent ICE candidates from being gathered properly.

If the shared secret is explicitly set in the values file, everything works and configuration matches as expected.

Steps to reproduce

Just run a helm install --dry-run --debug --namespace <test-namespace> <test-release-name> and pipe the output to less / bat / temporary file and check the shared secret values in homeserver.yaml and turnserver.conf - they will not match, and Coturn authentication will not work if deployed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant