Nextcloud docker image untrusted domain

I tried to deploy nextcloud in a cluster kubernetes I used this helm chart: “” with ingress controllers enabled that I have set it with the necessary configurations (DNS update, hostname and the certificate provider https) but when I access through the hostname that I indicated in the ingress.yaml file I receive this warning:

Does anyone have an idea about how to solve this issue?
Thanks in advance!

Basically you need to pass your domain as an environmen variable in as stated in the documentation for their docker image.

    One or more trusted domains can be set by environment variable, too. They will be added to the configuration after install.

        NEXTCLOUD_TRUSTED_DOMAINS (not set by default) Optional space-separated list of domains

I think there is currently no option for that in the helm chart itself, but please double check and then open and issue there.