diff --git a/src/main/resources/jitsi/jvb-config-deployment.yaml b/src/main/resources/jitsi/jvb-config-deployment.yaml index 28e7311..bab0598 100644 --- a/src/main/resources/jitsi/jvb-config-deployment.yaml +++ b/src/main/resources/jitsi/jvb-config-deployment.yaml @@ -21,6 +21,11 @@ spec: serviceAccountName: jitsi-meet securityContext: {} + initContainers: + - name: wait-for-prosody + image: curlimages/curl:latest + command: ["/bin/sh","-c"] + args: ["while [ $(curl -sw '%{http_code}' http://prosody:5280 -o /dev/null) -ne 200 ]; do sleep 5; echo 'Waiting for the prosody...'; done"] containers: - name: jitsi-meet securityContext: