Jibri on Kubernetes

Hello, I have created a simple deployment YAML file for Jibri on Kubernetes. However, even though it joins correctly as a component in Prosody, it shows this error when pressing “Start conference”:

An error occurred while joining the call: org.openqa.selenium.WebDriverException: <unknown>: 
Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

I am using TLS termination with Nginx Ingress Controller, and the env variable DISABLE_HTTPS is set to 1. Everything else works except Jibri. I believe it could be because it joins the conference with URL https://mydomain.com and from inside the Jibri pod doing nslookup for mydomain.com outputs:

** server can't find wdfl00253130a.emea.global.corp.sap: NXDOMAIN".

What could be the solution?

adding an entry in /etc/hosts solved the problem:

10.10.10.10            mydomain.com

where 10.10.10.10 is the public IP of my server.
You can automate it by adding “hostAliases” in jibri deployment yaml file