diff --git a/charts/coturn/Chart.yaml b/charts/coturn/Chart.yaml index d90874b..418395e 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.0 +version: 4.1.1 appVersion: 4.6.2 sources: - "https://github.com/jessebot/coturn-chart" diff --git a/charts/coturn/README.md b/charts/coturn/README.md index 21b7757..958dd23 100644 --- a/charts/coturn/README.md +++ b/charts/coturn/README.md @@ -1,6 +1,6 @@ # coturn -![Version: 4.0.1](https://img.shields.io/badge/Version-4.0.1-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.1.1](https://img.shields.io/badge/Version-4.1.1-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 @@ -20,7 +20,7 @@ A Helm chart to deploy coturn | Repository | Name | Version | |------------|------|---------| -| oci://registry-1.docker.io/bitnamicharts | postgresql | 12.6.9 | +| oci://registry-1.docker.io/bitnamicharts | postgresql | 12.7.1 | ## Values @@ -64,7 +64,6 @@ A Helm chart to deploy coturn | persistence.size | string | `"1Mi"` | size of the PVC, ignored if persistence.existingClaim passed in | | persistence.storageClass | string | `""` | storageClass for the PVC, ignored if persistence.existingClaim passed in | | postgresql.enabled | bool | `false` | enables bitnami postgresql subchart, you can disable to use external db | -| postgresql.global.postgresql.auth | object | `{"database":"coturn","existingSecret":"","password":"","secretKeys":{"adminPasswordKey":"postgresPassword","database":"database","hostname":"hostname","userPasswordKey":"password","username":"username"},"username":"coturn"}` | global.postgresql.auth overrides postgresql.auth | | postgresql.global.postgresql.auth.database | string | `"coturn"` | database to create, ignored if existingSecret is passed in | | postgresql.global.postgresql.auth.existingSecret | string | `""` | name of existing Secret to use for postgresql credentials | | postgresql.global.postgresql.auth.password | string | `""` | password for db, autogenerated if empty & existingSecret empty | diff --git a/charts/coturn/templates/service-tcp.yaml b/charts/coturn/templates/service-tcp.yaml index 14ef489..d2a4ef1 100644 --- a/charts/coturn/templates/service-tcp.yaml +++ b/charts/coturn/templates/service-tcp.yaml @@ -15,10 +15,16 @@ spec: port: {{ .Values.coturn.ports.listening }} protocol: TCP targetPort: {{ .Values.coturn.ports.listening }} + {{- if eq .Values.service.type "NodePort" }} + nodePort: {{ .Values.coturn.port.listening }} + {{- end }} - name: turn-tcp-tls port: {{ .Values.coturn.ports.tlsListening }} protocol: TCP targetPort: {{ .Values.coturn.ports.tlsListening }} + {{- if eq .Values.service.type "NodePort" }} + nodePort: {{ .Values.coturn.port.tlsListening }} + {{- end }} selector: app.kubernetes.io/name: {{ .Release.Name }}-coturn app.kubernetes.io/instance: {{ .Release.Name }} diff --git a/charts/coturn/templates/service-udp.yaml b/charts/coturn/templates/service-udp.yaml index ae1a79d..e7b5e18 100644 --- a/charts/coturn/templates/service-udp.yaml +++ b/charts/coturn/templates/service-udp.yaml @@ -15,10 +15,16 @@ spec: port: {{ .Values.coturn.ports.listening }} protocol: UDP targetPort: {{ .Values.coturn.ports.listening }} + {{- if eq .Values.service.type "NodePort" }} + nodePort: {{ .Values.coturn.port.tlsListening }} + {{- end }} - name: turn-udp-dtls port: {{ .Values.coturn.ports.tlsListening }} protocol: UDP targetPort: {{ .Values.coturn.ports.tlsListening }} + {{- if eq .Values.service.type "NodePort" }} + nodePort: {{ .Values.coturn.port.tlsListening }} + {{- end }} selector: app.kubernetes.io/name: {{ .Release.Name }}-coturn app.kubernetes.io/instance: {{ .Release.Name }} diff --git a/charts/coturn/values.yaml b/charts/coturn/values.yaml index b6067b5..c57b9b0 100644 --- a/charts/coturn/values.yaml +++ b/charts/coturn/values.yaml @@ -84,7 +84,7 @@ postgresql: enabled: false global: postgresql: - # -- global.postgresql.auth overrides postgresql.auth + # global.postgresql.auth overrides postgresql.auth auth: # -- username for database, ignored if existingSecret is passed in username: "coturn"