Skip to content
Snippets Groups Projects
Commit aae59099 authored by DJ Mountney's avatar DJ Mountney
Browse files

Merge branch '16-client-ip-not-passed' into 'master'

Configure Nginx to preserve external IP

Closes #16

See merge request !24
parents 78b393a6 c4fb5d78
No related branches found
No related tags found
1 merge request!24Configure Nginx to preserve external IP
Loading
Loading
@@ -127,6 +127,7 @@ spec:
gitlab_rails['uploads_directory'] = '/gitlab-data/uploads'
gitlab_ci['builds_directory'] = '/gitlab-data/builds'
gitlab_rails['registry_path'] = '/gitlab-registry'
gitlab_rails['trusted_proxies'] = ["10.0.0.0/8","172.16.0.0/12","192.168.0.0/16"]
 
prometheus['enable'] = true
node_exporter['enable'] = true
Loading
Loading
Loading
Loading
@@ -3,6 +3,8 @@ kind: Service
metadata:
name: nginx
namespace: nginx-ingress
annotations:
service.beta.kubernetes.io/external-traffic: "OnlyLocal"
spec:
type: LoadBalancer
loadBalancerIP: @GITLAB_GKE_IP@
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment