Gitlab chart client ip

I have a private gitlab-ce instance installed in a private on premise kubernetes cluster. Everything is running great, but the gitlab workhorse (webservice) is not logging the real client ips (private IPs). Instead it logs the ingress-controller’s IP.
I have looked at the source and it seems that the xff module used, does not accept private IPs in the X-Forward-For header.
Anyone else running gitlab in private network, without internet access? Is it that way “by design” or I am missing some settings?