From 5baf62c915d816f9058a5ffb6f3913fd9c2f73ed Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Mon, 22 Dec 2025 13:45:50 -0300 Subject: [PATCH] jitsi: copy tcp custom config via init --- services/jitsi/deployment.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/services/jitsi/deployment.yaml b/services/jitsi/deployment.yaml index 434cd77..3af4ed8 100644 --- a/services/jitsi/deployment.yaml +++ b/services/jitsi/deployment.yaml @@ -95,6 +95,18 @@ spec: type: Recreate selector: matchLabels: { app: jitsi-jvb } + initContainers: + - name: jvb-custom-config + image: busybox:1.36 + command: + - /bin/sh + - -c + - | + set -euo pipefail + cp /custom-config/custom-jvb.conf /config/custom-jvb.conf + volumeMounts: + - { name: cfg, mountPath: /config } + - { name: jvb-custom, mountPath: /custom-config } template: metadata: labels: { app: jitsi-jvb } @@ -130,7 +142,6 @@ spec: - { name: JVB_TCP_PORT, value: "4443" } volumeMounts: - { name: cfg, mountPath: /config } - - { name: jvb-custom, mountPath: /config/custom-jvb.conf, subPath: custom-jvb.conf } volumes: - name: cfg persistentVolumeClaim: { claimName: jitsi-jvb-config }