jitsi: fix init container placement
This commit is contained in:
parent
5baf62c915
commit
453776967a
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user