Skip to content

Commit bc9e46c

Browse files
Add comments to clarify proxy settings and ingress pathType requirements
1 parent 91c5fe9 commit bc9e46c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

helm-chart/eoapi/templates/services/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ spec:
6464
command:
6565
{{- toYaml (index $v "command") | nindent 10 }}
6666
{{- if (and ($.Values.ingress.className) (or (eq $.Values.ingress.className "nginx") (eq $.Values.ingress.className "traefik"))) }}
67-
- "--proxy-headers"
68-
- "--forwarded-allow-ips=*"
67+
- "--proxy-headers" # Needed when using reverse proxy
68+
- "--forwarded-allow-ips=*" # Needed when using reverse proxy
6969
- "--root-path=/{{ $serviceName }}"
7070
{{- end }}{{/* needed for proxies and path rewrites on NLB */}}
7171
livenessProbe:

helm-chart/eoapi/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ ingress:
4545
className: "nginx"
4646
# Path configuration
4747
pathType: "Prefix" # Can be "Prefix" or "ImplementationSpecific" based on controller
48+
# NOTE: When using nginx ingress controller with regex in pathSuffix,
49+
# you must set pathType to "ImplementationSpecific". See issue #189 for more context.
4850
pathSuffix: "" # Add a suffix to service paths (e.g. "(/|$)(.*)" for nginx regex)
4951
rootPath: "" # Root path for doc server
5052
# Host configuration

0 commit comments

Comments
 (0)