helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

[Feature]: allow to specify path for the allInOne Ingress

Open mjedwabn opened this issue 2 years ago • 1 comments

Requirement

As a devops I want to specify Ingress path for Jaeger so that enduser can access Jaeger using http://hostname/custom_jaeger_path. Currently Jaeger is exposed at http://hostname/.

Problem

Ingress definition has hardcoded path as /: https://github.com/jaegertracing/helm-charts/blob/6ab6ed3f4607c6cdf92f3bf8ebffd296f87ac63d/charts/jaeger/templates/allinone-ing.yaml#L23

W/A - provide custom Ingress definition, written from scratch.

Proposal

Add a way to override Ingress path by introducing proper Helm variable, just like in standalone jaeger-query ingress: https://github.com/jaegertracing/helm-charts/blob/6ab6ed3f4607c6cdf92f3bf8ebffd296f87ac63d/charts/jaeger/templates/query-ing.yaml#L28

Open questions

No response

mjedwabn avatar Jan 18 '23 11:01 mjedwabn

I have the same usecase and would also like to access Jaeger using http://hostname/custom_jaeger_path. My current workaround is to change line 23 in helm-charts/charts/jaeger/templates/allinone-ing.yaml to:

path: {{ default "/" $.Values.allInOne.ingress.path }}

Could we add this update to the chart?

ereed248 avatar Jan 26 '24 14:01 ereed248