From df0bbe58d1e0d11a6c513a0aa7ece11af0337004 Mon Sep 17 00:00:00 2001 From: jessebot Date: Wed, 27 Mar 2024 09:49:53 +0100 Subject: [PATCH 1/5] bumping for mysql changes by @CASL0 --- charts/coturn/Chart.yaml | 2 +- charts/coturn/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/coturn/Chart.yaml b/charts/coturn/Chart.yaml index dd90391..ca20959 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.3.0 +version: 4.4.0 # renovate: image=coturn/coturn appVersion: 4.6.2 diff --git a/charts/coturn/README.md b/charts/coturn/README.md index cf75810..8bd702f 100644 --- a/charts/coturn/README.md +++ b/charts/coturn/README.md @@ -1,6 +1,6 @@ # coturn -![Version: 4.3.0](https://img.shields.io/badge/Version-4.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.6.2](https://img.shields.io/badge/AppVersion-4.6.2-informational?style=flat-square) +![Version: 4.4.0](https://img.shields.io/badge/Version-4.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.6.2](https://img.shields.io/badge/AppVersion-4.6.2-informational?style=flat-square) A Helm chart to deploy coturn @@ -96,4 +96,4 @@ A Helm chart to deploy coturn | service.type | string | `"ClusterIP"` | The type of service to deploy for routing Coturn traffic. ClusterIP: Recommended for DaemonSet configurations. This will create a standard Kubernetes service for Coturn within the cluster. No external networking will be configured as the DaemonSet will handle binding to each Node's host networking NodePort: Recommended for Deployment configurations. This will open TURN ports on every node and route traffic on these ports to the Coturn pods. You will need to make sure your cloud provider supports the cluster config setting, apiserver.service-node-port-range, as this range must contain the ports defined above for the service to be created. LoadBalancer: This was what was originally set for this chart in the upstream of this fork, but with no details | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.12.0](https://github.com/norwoodj/helm-docs/releases/v1.12.0) +Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1) From 137f7af0a6efbff19f28dfd5feb1bb044fcf4edb Mon Sep 17 00:00:00 2001 From: JesseBot Date: Wed, 27 Mar 2024 10:03:03 +0100 Subject: [PATCH 2/5] Update Chart.yaml - update to small hack org --- charts/coturn/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/coturn/Chart.yaml b/charts/coturn/Chart.yaml index ca20959..174572a 100644 --- a/charts/coturn/Chart.yaml +++ b/charts/coturn/Chart.yaml @@ -2,13 +2,13 @@ apiVersion: v2 name: coturn type: application description: A Helm chart to deploy coturn -home: "https://github.com/jessebot/coturn-chart" +home: "https://github.com/small-hack/coturn-chart" version: 4.4.0 # renovate: image=coturn/coturn appVersion: 4.6.2 sources: - - "https://github.com/jessebot/coturn-chart" + - "https://github.com/small-hack/coturn-chart" maintainers: - name: "jessebot" From 3f1b6014db7ff8b8c2d8cc955aeb02146ce903a2 Mon Sep 17 00:00:00 2001 From: jessebot Date: Wed, 27 Mar 2024 10:04:05 +0100 Subject: [PATCH 3/5] update readme to reflect small-hack ownership --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2977b09..6ae8d21 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # 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). @@ -22,7 +22,7 @@ An unofficial [coturn](https://github.com/coturn/coturn) helm chart using the of 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 -helm repo add coturn https://jessebot.github.io/coturn-chart/ +helm repo add coturn https://small-hack.github.io/coturn-chart/ helm install coturn coturn/coturn --values values.yaml ``` From 3717e50acf5c6655206d6036ffcb04d2de10e884 Mon Sep 17 00:00:00 2001 From: JesseBot Date: Wed, 27 Mar 2024 10:28:34 +0100 Subject: [PATCH 4/5] Update configmap-initdb-scripts.yaml - only deploy if mysql enabled --- charts/coturn/templates/configmap-initdb-scripts.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/coturn/templates/configmap-initdb-scripts.yaml b/charts/coturn/templates/configmap-initdb-scripts.yaml index 484195e..1ae2634 100644 --- a/charts/coturn/templates/configmap-initdb-scripts.yaml +++ b/charts/coturn/templates/configmap-initdb-scripts.yaml @@ -1,4 +1,4 @@ ---- +{{- if .Values.mysql.enabled }} apiVersion: v1 kind: ConfigMap metadata: @@ -61,3 +61,4 @@ data: password varchar(127), primary key (name) ); +{{- end }} From db70f589463bd3548ce115a858b71dc1a0d26be3 Mon Sep 17 00:00:00 2001 From: jessebot Date: Wed, 27 Mar 2024 10:58:21 +0100 Subject: [PATCH 5/5] fix trailing spaces --- charts/coturn/README.md | 6 +++--- charts/coturn/values.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/coturn/README.md b/charts/coturn/README.md index 8bd702f..6eee1ff 100644 --- a/charts/coturn/README.md +++ b/charts/coturn/README.md @@ -4,7 +4,7 @@ A Helm chart to deploy coturn -**Homepage:** +**Homepage:** ## Maintainers @@ -14,7 +14,7 @@ A Helm chart to deploy coturn ## Source Code -* +* ## Requirements @@ -59,7 +59,7 @@ A Helm chart to deploy coturn | image.tag | string | `""` | docker tag for coturn server | | labels | object | `{"component":"coturn"}` | Coturn specific labels | | mysql.auth.database | string | `"coturn"` | database to create, ignored if existingSecret is passed in | -| mysql.auth.existingSecret | string | `""` | Use existing secret for password details. The secret has to contain the keys mysql-root-password, mysql-replication-password and mysql-password | +| mysql.auth.existingSecret | string | `""` | Use existing secret for password details. The secret has to contain the keys mysql-root-password, mysql-replication-password and mysql-password | | mysql.auth.password | string | `""` | password for db, autogenerated if empty & existingSecret empty | | mysql.auth.secretKeys.password | string | `"password"` | key in existing Secret to use for coturn user's password | | mysql.auth.secretKeys.username | string | `"username"` | key in exsiting Secret to use for the coturn user | diff --git a/charts/coturn/values.yaml b/charts/coturn/values.yaml index 8d2d02a..9da7c6c 100644 --- a/charts/coturn/values.yaml +++ b/charts/coturn/values.yaml @@ -125,7 +125,7 @@ mysql: password: "" # -- database to create, ignored if existingSecret is passed in database: "coturn" - # -- Use existing secret for password details. + # -- Use existing secret for password details. # The secret has to contain the keys mysql-root-password, mysql-replication-password and mysql-password existingSecret: "" # Names of the keys in existing secret to use for MySQL credentials