jitsi: fix init container placement

This commit is contained in:
Brad Stein 2025-12-22 13:47:18 -03:00
parent 5baf62c915
commit 453776967a

View File

@ -95,22 +95,22 @@ spec:
type: Recreate type: Recreate
selector: selector:
matchLabels: { app: jitsi-jvb } 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: template:
metadata: metadata:
labels: { app: jitsi-jvb } labels: { app: jitsi-jvb }
spec: spec:
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 }
nodeSelector: nodeSelector:
kubernetes.io/hostname: titan-22 kubernetes.io/hostname: titan-22
kubernetes.io/arch: amd64 kubernetes.io/arch: amd64