How to Obtain a User's Real IP for Gitlab Help?

Summary

How to Obtain a User's Real IP for Gitlab Help?

The figure does not show the user's actual IP address. The real IP address of the user is 172.25.25

image

Steps to reproduce

Installation command:

Unable to obtain real user IP after login

helm -n gitlab-test install my-gitlab gitlab/gitlab --version 7.3.2 \
  --set certmanager-issuer.email=your@email.com \
  --set global.time_zone=Asia/Shanghai \
  --set global.hosts.domain=test.helm.xuxiaowei.cn \
  --timeout 600s

Configuration used

helm -n gitlab-test install my-gitlab gitlab/gitlab --version 7.3.2 \
  --set certmanager-issuer.email=your@email.com \
  --set global.time_zone=Asia/Shanghai \
  --set global.hosts.domain=test.helm.xuxiaowei.cn \
  --timeout 600s

Current behavior

Unable to obtain the user's real IP address

Expected behavior

Correctly displaying the user's real IP on the page: 172.25.25.4

image

Versions

  • Chart: (tagged version | branch | hash git rev-parse HEAD) 7.3.2
  • Platform:
    • Cloud: (GKE | AKS | EKS | ?)
    • Self-hosted: (OpenShift | Minikube | Rancher RKE | ?)
  • Kubernetes: (kubectl version)
    • Client: v1.27.4
    • Server: v1.26.7
  • Helm: (helm version) v3.12.3
    • Client:
    • Server:

Relevant logs

(Please provide any relevate log snippets you have collected, using code blocks (```) to format)