jitsi: copy tcp custom config via init
This commit is contained in:
parent
638b37cb37
commit
5baf62c915
@ -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 }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user