Skip to content

Conversation

@r0zbot
Copy link
Member

@r0zbot r0zbot commented Nov 6, 2025

Drachtio is the new backend for voip used by Rocket.Chat. It's used for internal call routing. For external calls, freeswitch is still needed, hence it's presence in the updated helm chart.

Copy link
Contributor

@gabrielpetry gabrielpetry Nov 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Include something like:
https://github.com/RocketChat/helm-charts/blob/c99e92931fd2e23f567e13c487156e17fe7022fe/monitoring/templates/validations.yaml

to force the user to change the secret, also include an option to useExistingSecret , so they can reuse a pre-existing secret and avoid plain text secrets in tools like helm-controller or kustomize helm-chart inflating.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont see that particular validation in there 🤔

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was an example of how we did; the validation in this case would be something like

{{ if or (eq .Values.drachtio.secret "changeme!!!") (eq .Values.drachtio.secret "") }}
  {{- fail "Change password please" -}}
{{- end -}}

@gabrielpetry
Copy link
Contributor

Maybe whould be nice to add a dummy test like we did for the monitoring chart, https://github.com/RocketChat/helm-charts/blob/c99e92931fd2e23f567e13c487156e17fe7022fe/monitoring/tests/tests.bats

Really basic, just deploy the previous version of chart, them the new one, so we can ensure that chart is deployed before a release is created.

@r0zbot
Copy link
Member Author

r0zbot commented Nov 6, 2025

Maybe whould be nice to add a dummy test like we did for the monitoring chart, https://github.com/RocketChat/helm-charts/blob/c99e92931fd2e23f567e13c487156e17fe7022fe/monitoring/tests/tests.bats

Really basic, just deploy the previous version of chart, them the new one, so we can ensure that chart is deployed before a release is created.

This seems a bit out of scope for this PR, but i can make a new one adding tests since there were no tests previously for the voip chart.

@r0zbot r0zbot merged commit bc7f14a into master Nov 10, 2025
1 check passed
@r0zbot r0zbot deleted the drachtio-support branch November 10, 2025 21:09
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

Successfully merging this pull request may close these issues.

2 participants