Skip to content

Commit

Permalink
Update deployment.yaml (#13)
Browse files Browse the repository at this point in the history
* Update deployment.yaml

* Update Chart.yaml - bump helm chart version

* add table of contents to readme :)
  • Loading branch information
jessebot authored Jul 29, 2023
1 parent abcd0ce commit e266379
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/coturn/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion charts/coturn/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit e266379

Please sign in to comment.