Skip to content

Commit

Permalink
Merge pull request #738 from MetaCell/feature/CH-124
Browse files Browse the repository at this point in the history
CH-124 add forwarded headers configuration
  • Loading branch information
filippomc authored Mar 20, 2024
2 parents f64b165 + 170feed commit fb49449
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions deployment-configuration/helm/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ metadata:
nginx.ingress.kubernetes.io/auth-keepalive-timeout: {{ .Values.proxy.timeout.keepalive | quote }}
nginx.ingress.kubernetes.io/proxy-read-timeout: {{ .Values.proxy.timeout.read | quote }}
nginx.ingress.kubernetes.io/proxy-send-timeout: {{ .Values.proxy.timeout.send | quote }}
nginx.ingress.kubernetes.io/use-forwarded-headers: {{ .Values.proxy.forwardedHeaders | quote }}
spec:
rules:
{{- range $app := .Values.apps }}
Expand Down
2 changes: 2 additions & 0 deletions deployment-configuration/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ backup:
# -- K8s cpu resource definition.
cpu: "50m"
proxy:
# -- Set to false to hide remote client headers. Will hide the client IPs in all logs
forwardedHeaders: true
timeout:
# -- Timeout for proxy connections in seconds.
send: 60
Expand Down
2 changes: 2 additions & 0 deletions docs/ingress-domains-proxies.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ To configure it, override the following values in your `deployment-configuration

```yaml
proxy:
# -- Set to false to hide remote client headers. Will hide the client IPs in all logs
forwardedHeaders: true
timeout:
# -- Timeout for proxy connections in seconds.
send: 60
Expand Down

0 comments on commit fb49449

Please sign in to comment.