Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions livekit-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: livekit-server
description: Real-time infrastructure for developers. LiveKit is the open source stack for streaming audio, video, and data.
type: application
version: 1.8.3
appVersion: "v1.8.3"
version: 1.9.12
appVersion: "v1.9.12"

sources:
- https://github.com/livekit/livekit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: apps/v1
kind: Deployment
kind: {{ .Values.deploymentType }}
metadata:
name: {{ include "livekit-server.fullname" . }}
labels:
Expand All @@ -9,13 +9,13 @@ metadata:
{{- toYaml .Values.deploymentAnnotations | nindent 4 }}
{{- end }}
spec:
{{- if not .Values.autoscaling.enabled }}
{{- if and (not .Values.autoscaling.enabled) (eq .Values.deploymentType "Deployment") }}
replicas: {{ .Values.replicaCount }}
{{- end }}
selector:
matchLabels:
{{- include "livekit-server.selectorLabels" . | nindent 6 }}
{{- if .Values.deploymentStrategy }}
{{- if and (.Values.deploymentStrategy) (eq .Values.deploymentType "Deployment") }}
strategy:
{{- toYaml .Values.deploymentStrategy | nindent 4 }}
{{- end }}
Expand Down Expand Up @@ -47,7 +47,13 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
args: ["--disable-strict-config"]
args:
- "--disable-strict-config"
{{- if .Values.extraArgs }}
{{- range .Values.extraArgs }}
- "{{ . }}"
{{- end }}
{{- end }}
env:
- name: LIVEKIT_CONFIG
valueFrom:
Expand Down
3 changes: 3 additions & 0 deletions livekit-server/templates/turnloadbalancer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ metadata:
{{- end }}
spec:
type: {{ default "LoadBalancer" .Values.livekit.turn.serviceType }}
{{- if .Values.livekit.turn.loadBalancerIP }}
loadBalancerIP: {{ .Values.livekit.turn.loadBalancerIP }}
{{- end }}
ports:
- port: 443
targetPort: {{ .Values.livekit.turn.tls_port }}
Expand Down
7 changes: 7 additions & 0 deletions livekit-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

replicaCount: 1

# deploymentType can be one of "Deployment", "DaemonSet"
deploymentType: Deployment

image:
repository: livekit/livekit-server
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -43,6 +46,7 @@ livekit:
# domain: turn.myhost.com
# secretName: <tlssecret>
loadBalancerAnnotations: {}
# loadBalancerIP: <ip>
# webhook: <webhook configuration>
# room: <default settings for new rooms>
# region: <set for multi-region deploys>
Expand Down Expand Up @@ -150,3 +154,6 @@ serviceMonitor:
name: ""
# The scrape interval
interval: 30s

# Extra args for livekit-server
extraArgs: []