From fbf6dca715dd6c8bbbb127084c0950bc7c57205d Mon Sep 17 00:00:00 2001 From: dklimpel <5740567+dklimpel@users.noreply.github.com> Date: Mon, 1 Dec 2025 08:59:26 +0100 Subject: [PATCH 1/2] feat: allow to set custom ENV --- livekit-server/templates/deployment.yaml | 3 +++ livekit-server/values.yaml | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/livekit-server/templates/deployment.yaml b/livekit-server/templates/deployment.yaml index 7b35cee..65becf4 100644 --- a/livekit-server/templates/deployment.yaml +++ b/livekit-server/templates/deployment.yaml @@ -60,6 +60,9 @@ spec: - name: LIVEKIT_TURN_KEY value: /etc/lkcert/tls.key {{- end }} + {{- with .Values.extraEnvVars }} + {{ toYaml . | indent 12 }} + {{- end }} ports: - name: http containerPort: {{ .Values.livekit.port }} diff --git a/livekit-server/values.yaml b/livekit-server/values.yaml index bcf6d51..ecf230c 100644 --- a/livekit-server/values.yaml +++ b/livekit-server/values.yaml @@ -84,6 +84,17 @@ nodeSelector: {} # node.kubernetes.io/instance-type: c5.2xlarge +# Additional environment variables to set +# Ref: https://github.com/livekit/livekit/blob/master/cmd/server/main.go +extraEnvVars: [] + # - name: CUSTOM_VAR + # value: "custom-value" + # - name: REDIS_PASSWORD + # valueFrom: + # secretKeyRef: + # name: my-secret + # key: secret-key + resources: {} # Due to port restrictions, you can run only one instance of LiveKit per physical From 500aa16268d5805f4b4c7fab9e312f28d475e2c5 Mon Sep 17 00:00:00 2001 From: dklimpel <5740567+dklimpel@users.noreply.github.com> Date: Mon, 1 Dec 2025 09:23:54 +0100 Subject: [PATCH 2/2] fix indent --- livekit-server/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livekit-server/templates/deployment.yaml b/livekit-server/templates/deployment.yaml index 65becf4..09ec402 100644 --- a/livekit-server/templates/deployment.yaml +++ b/livekit-server/templates/deployment.yaml @@ -61,7 +61,7 @@ spec: value: /etc/lkcert/tls.key {{- end }} {{- with .Values.extraEnvVars }} - {{ toYaml . | indent 12 }} + {{- toYaml . | indent 12 }} {{- end }} ports: - name: http