diff --git a/README.md b/README.md index 5b41f42..994c4f1 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,22 @@ # coturn helm chart An unofficial [coturn](https://github.com/coturn/coturn) helm chart using the official [coturn docker image](https://hub.docker.com/r/coturn/coturn). +* [Usage](#usage) + * [TLDR;](#tldr) + * [Basics](#basics) + * [Coturn Realm](#coturn-realm) + * [Adding a user declaritively](#adding-a-user-declaritively) + * [Databases](#databases) + * [Internal SQLite database](#internal-sqlite-database) + * [Bundled PostgreSQL subchart](#bundled-postgresql-subchart) + * [External PostgreSQL database](#external-postgresql-database) + * [Testing](#testing) + * [Status and Contributing](#status-and-contributing) + * [Thanks](#thanks) + # Usage -## TLDR +### TLDR Note that you still need to fill out the [`charts/coturn/values.yaml`](./charts/coturn/values.yaml) (Autogenerated Docs can be found in [`charts/coturn/README.md`](./charts/coturn/README.md)). ```console diff --git a/charts/coturn/Chart.yaml b/charts/coturn/Chart.yaml index 418395e..0262cb9 100644 --- a/charts/coturn/Chart.yaml +++ b/charts/coturn/Chart.yaml @@ -3,7 +3,7 @@ name: coturn type: application description: A Helm chart to deploy coturn home: "https://github.com/jessebot/coturn-chart" -version: 4.1.1 +version: 4.1.2 appVersion: 4.6.2 sources: - "https://github.com/jessebot/coturn-chart" diff --git a/charts/coturn/templates/deployment.yaml b/charts/coturn/templates/deployment.yaml index 8fb7375..59a2990 100644 --- a/charts/coturn/templates/deployment.yaml +++ b/charts/coturn/templates/deployment.yaml @@ -119,7 +119,7 @@ spec: yq eval -i '.user = env(USER_STR)' /data/turnserver.yaml && \ export CONNECTION_STRING="host=$DATABASE_HOSTNAME dbname=$DATABASE user=$DATABASE_USER password=$DATABASE_PASS connect_timeout=30" && \ {{- if or .Values.externalDatabase.enabled .Values.postgresql.enabled }} - yq eval '.psql-db = env(CONNECTION_STRING)' /data/turnserver.yaml && \ + yq eval '.psql-userdb = env(CONNECTION_STRING)' /data/turnserver.yaml && \ {{- end }} sed -i 's/: /=/' /data/turnserver.yaml && \ cat /extra/turnserver.conf >> /data/turnserver.yaml && \