From 6f5f2cc24b593ae622034f7c839c877f8c98d889 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 25 May 2020 23:45:33 +0200 Subject: [PATCH] little improvements to deployment --- ipapi/deployment.yaml | 2 +- ipapi/service.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ipapi/deployment.yaml b/ipapi/deployment.yaml index bed1bc1..e18ac72 100644 --- a/ipapi/deployment.yaml +++ b/ipapi/deployment.yaml @@ -28,7 +28,7 @@ spec: imagePullPolicy: Always name: ipapi args: - - -H "X-Real-IP" + - -H "X-Forwarded-For" ports: - containerPort: 8080 name: http diff --git a/ipapi/service.yaml b/ipapi/service.yaml index d928536..760b685 100644 --- a/ipapi/service.yaml +++ b/ipapi/service.yaml @@ -9,6 +9,6 @@ spec: ports: - name: http port: 8080 - targetPort: 8080 + targetPort: http selector: app: ipapi