Skip to content

Commit

Permalink
Feature: Set custom coturn initContainer image (#117) (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeTuR authored Sep 24, 2024
1 parent 5055cf0 commit 281b9e4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
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/small-hack/coturn-chart"
version: 6.2.6
version: 6.3.0

# renovate: image=coturn/coturn
appVersion: 4.6.2
Expand Down
6 changes: 4 additions & 2 deletions charts/coturn/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coturn

![Version: 6.2.6](https://img.shields.io/badge/Version-6.2.6-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: 6.3.0](https://img.shields.io/badge/Version-6.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)

A Helm chart to deploy coturn

Expand Down Expand Up @@ -41,6 +41,8 @@ A Helm chart to deploy coturn
| coturn.auth.secretKeys.username | string | `"username"` | key in existing secret for turn server user |
| coturn.auth.username | string | `"coturn"` | username for the main user of the turn server |
| coturn.extraTurnserverConfiguration | string | `"verbose\n"` | extra configuration for turnserver.conf |
| coturn.initContainer.image.repository | string | `"mikefarah/yq"` | registry and repository for init container config generator image |
| coturn.initContainer.image.tag | string | `"latest"` | tag for init container config generator image |
| coturn.listeningIP | string | `"0.0.0.0"` | coturn's listening IP address |
| coturn.logFile | string | `"stdout"` | set the logfile. Defaults to stdout for use with kubectl logs |
| coturn.ports.listening | int | `3478` | insecure listening port |
Expand Down Expand Up @@ -95,4 +97,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.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
2 changes: 1 addition & 1 deletion charts/coturn/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ spec:
{{- end }}
{{- end }}
- name: add-secret-values-to-config
image: "mikefarah/yq:latest"
image: {{ .Values.coturn.initContainer.image.repository }}:{{ .Values.coturn.initContainer.image.tag }}
imagePullPolicy: Always
env:
- name: USER
Expand Down
7 changes: 7 additions & 0 deletions charts/coturn/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,13 @@ coturn:
extraTurnserverConfiguration: |
verbose
initContainer:
image:
# -- registry and repository for init container config generator image
repository: mikefarah/yq
# -- tag for init container config generator image
tag: latest

# k8s pod security context:
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
podSecurityContext:
Expand Down

0 comments on commit 281b9e4

Please sign in to comment.