traefik / traefik-helm-chart

Traefik Proxy Helm Chart
https://traefik.io
Apache License 2.0
1.07k stars 757 forks source link

No obvious option in chart to set encodeQuerySemicolons #1050

Closed broomfn closed 5 months ago

broomfn commented 5 months ago

Welcome!

What version of the Traefik's Helm Chart are you using?

27.0.2

What version of Traefik are you using?

v2.11.2

What did you do?

I want/need to be able to set encodeQuerySemicolons via he helm chart.

See https://github.com/traefik/traefik/issues/9164 and https://doc.traefik.io/traefik/routing/entrypoints/#encodequerysemicolons for more details.

What did you see instead?

I couldn't see how to set it, unless I've missed something 🤷

What is your environment & configuration?

I need to deploy traefix to Kubernetes (hence the use of helm charts) and I need to encodeQuerySemicolons to support OData which used semicolons in query strings.

Additional Information

No response

mloiseleur commented 5 months ago

Hello @broomfn,

Thanks for your interest in Traefik.

There is a special value in this Chart named additionalArguments. It can be used for all specific settings.

Taking the doc example of Traefik CLI for encodequerysemicolons, it means that using a values like this:

additionalArguments:
  - "--entryPoints.websecure.http.encodequerysemicolons=true"

will generate the expected argument on pod. You can check yaml generated with helm template command.

Does that answer your question ?

BTW, If you need it on a regular basis, feel free to open a PR.

broomfn commented 5 months ago

Thanks, I'll use that 👍