feat(nginx): Get real client ip
Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
parent
ef2753fa40
commit
573f9d7c53
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ metadata:
|
|||
{{- include "nginx.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
# Make sure to get client ip
|
||||
externalTrafficPolicy: Local
|
||||
ports:
|
||||
{{- range .Values.service.ports }}
|
||||
- port: {{ .port }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue