jitsi: copy tcp custom config via init
This commit is contained in:
parent
638b37cb37
commit
5baf62c915
@ -95,6 +95,18 @@ 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 }
|
||||||
@ -130,7 +142,6 @@ spec:
|
|||||||
- { name: JVB_TCP_PORT, value: "4443" }
|
- { name: JVB_TCP_PORT, value: "4443" }
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- { name: cfg, mountPath: /config }
|
- { name: cfg, mountPath: /config }
|
||||||
- { name: jvb-custom, mountPath: /config/custom-jvb.conf, subPath: custom-jvb.conf }
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: cfg
|
- name: cfg
|
||||||
persistentVolumeClaim: { claimName: jitsi-jvb-config }
|
persistentVolumeClaim: { claimName: jitsi-jvb-config }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user